diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-03-10 05:33:43 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-10 05:37:44 -0500 |
commit | 56dc66ff1c6d71f9a38c4a7c000b72b921fe4c89 (patch) | |
tree | 2b4c41af5aa45e77a19d7aedf94dcf11c4bdd52e | |
parent | ad09ef2cce91e3a98a32e3bb0a5982a6e8920aa1 (diff) |
ALSA: hda - Apply reboot D3 fix for CX20724 codec, too
Just like CX20722, CX7024 codec also requires the power down at reboot
in order to reduce the noise at reboot/shutdown.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=113511
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 6122b8ca872f..56fefbd85782 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -204,8 +204,13 @@ static void cx_auto_reboot_notify(struct hda_codec *codec) | |||
204 | { | 204 | { |
205 | struct conexant_spec *spec = codec->spec; | 205 | struct conexant_spec *spec = codec->spec; |
206 | 206 | ||
207 | if (codec->core.vendor_id != 0x14f150f2) | 207 | switch (codec->core.vendor_id) { |
208 | case 0x14f150f2: /* CX20722 */ | ||
209 | case 0x14f150f4: /* CX20724 */ | ||
210 | break; | ||
211 | default: | ||
208 | return; | 212 | return; |
213 | } | ||
209 | 214 | ||
210 | /* Turn the CX20722 codec into D3 to avoid spurious noises | 215 | /* Turn the CX20722 codec into D3 to avoid spurious noises |
211 | from the internal speaker during (and after) reboot */ | 216 | from the internal speaker during (and after) reboot */ |