Loading sound/pci/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -518,6 +518,15 @@ config SND_HDA_HWDEP This interface can be used for out-of-band communication with codecs for debugging purposes. config SND_HDA_RECONFIG bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)" depends on SND_HDA_HWDEP && EXPERIMENTAL help Say Y here to enable the HD-audio codec re-configuration feature. This adds the sysfs interfaces to allow user to clear the whole codec configuration, change the codec setup, add extra verbs, and re-configure the codec dynamically. config SND_HDA_INPUT_BEEP bool "Support digital beep via input layer" depends on SND_HDA_INTEL Loading sound/pci/hda/hda_hwdep.c +4 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ int __devinit snd_hda_create_hwdep(struct hda_codec *codec) return 0; } #ifdef CONFIG_SND_HDA_RECONFIG /* * sysfs interface */ Loading Loading @@ -347,3 +349,5 @@ int snd_hda_hwdep_add_sysfs(struct hda_codec *codec) hwdep->device, &codec_attrs[i]); return 0; } #endif /* CONFIG_SND_HDA_RECONFIG */ sound/pci/hda/hda_local.h +9 −1 Original line number Diff line number Diff line Loading @@ -409,11 +409,19 @@ void snd_hda_ctls_clear(struct hda_codec *codec); */ #ifdef CONFIG_SND_HDA_HWDEP int snd_hda_create_hwdep(struct hda_codec *codec); int snd_hda_hwdep_add_sysfs(struct hda_codec *codec); #else static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } #endif #ifdef CONFIG_SND_HDA_RECONFIG int snd_hda_hwdep_add_sysfs(struct hda_codec *codec); #else static inline int snd_hda_hwdep_add_sysfs(struct hda_codec *codec) { return 0; } #endif /* * power-management */ Loading Loading
sound/pci/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -518,6 +518,15 @@ config SND_HDA_HWDEP This interface can be used for out-of-band communication with codecs for debugging purposes. config SND_HDA_RECONFIG bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)" depends on SND_HDA_HWDEP && EXPERIMENTAL help Say Y here to enable the HD-audio codec re-configuration feature. This adds the sysfs interfaces to allow user to clear the whole codec configuration, change the codec setup, add extra verbs, and re-configure the codec dynamically. config SND_HDA_INPUT_BEEP bool "Support digital beep via input layer" depends on SND_HDA_INTEL Loading
sound/pci/hda/hda_hwdep.c +4 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ int __devinit snd_hda_create_hwdep(struct hda_codec *codec) return 0; } #ifdef CONFIG_SND_HDA_RECONFIG /* * sysfs interface */ Loading Loading @@ -347,3 +349,5 @@ int snd_hda_hwdep_add_sysfs(struct hda_codec *codec) hwdep->device, &codec_attrs[i]); return 0; } #endif /* CONFIG_SND_HDA_RECONFIG */
sound/pci/hda/hda_local.h +9 −1 Original line number Diff line number Diff line Loading @@ -409,11 +409,19 @@ void snd_hda_ctls_clear(struct hda_codec *codec); */ #ifdef CONFIG_SND_HDA_HWDEP int snd_hda_create_hwdep(struct hda_codec *codec); int snd_hda_hwdep_add_sysfs(struct hda_codec *codec); #else static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } #endif #ifdef CONFIG_SND_HDA_RECONFIG int snd_hda_hwdep_add_sysfs(struct hda_codec *codec); #else static inline int snd_hda_hwdep_add_sysfs(struct hda_codec *codec) { return 0; } #endif /* * power-management */ Loading