aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_sigmatel.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index b513eba2d2f7..8eb6508cd991 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4668,6 +4668,26 @@ static void stac92xx_unsol_event(struct hda_codec *codec, unsigned int res)
4668 } 4668 }
4669} 4669}
4670 4670
4671static int hp_bseries_system(u32 subsystem_id)
4672{
4673 switch (subsystem_id) {
4674 case 0x103c307e:
4675 case 0x103c307f:
4676 case 0x103c3080:
4677 case 0x103c3081:
4678 case 0x103c1722:
4679 case 0x103c1723:
4680 case 0x103c1724:
4681 case 0x103c1725:
4682 case 0x103c1726:
4683 case 0x103c1727:
4684 case 0x103c1728:
4685 case 0x103c1729:
4686 return 1;
4687 }
4688 return 0;
4689}
4690
4671#ifdef CONFIG_PROC_FS 4691#ifdef CONFIG_PROC_FS
4672static void stac92hd_proc_hook(struct snd_info_buffer *buffer, 4692static void stac92hd_proc_hook(struct snd_info_buffer *buffer,
4673 struct hda_codec *codec, hda_nid_t nid) 4693 struct hda_codec *codec, hda_nid_t nid)
@@ -4733,26 +4753,6 @@ static int stac92xx_resume(struct hda_codec *codec)
4733 return 0; 4753 return 0;
4734} 4754}
4735 4755
4736static int hp_bseries_system(u32 subsystem_id)
4737{
4738 switch (subsystem_id) {
4739 case 0x103c307e:
4740 case 0x103c307f:
4741 case 0x103c3080:
4742 case 0x103c3081:
4743 case 0x103c1722:
4744 case 0x103c1723:
4745 case 0x103c1724:
4746 case 0x103c1725:
4747 case 0x103c1726:
4748 case 0x103c1727:
4749 case 0x103c1728:
4750 case 0x103c1729:
4751 return 1;
4752 }
4753 return 0;
4754}
4755
4756/* 4756/*
4757 * using power check for controlling mute led of HP notebooks 4757 * using power check for controlling mute led of HP notebooks
4758 * check for mute state only on Speakers (nid = 0x10) 4758 * check for mute state only on Speakers (nid = 0x10)