ALSA: hda - Apply click noise workaround for Thinkpads generically
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Dec 2015 22:30:43 +0000 (23:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Dec 2015 14:06:14 +0000 (15:06 +0100)
commit157f0b7f6c0cc0bc88647390006e959e267a0143
treeba3715313a6c86539d70cc82e3159a60d5080f0a
parentc04017ea81dc1eccae87be7ac7b82b2972f9931f
ALSA: hda - Apply click noise workaround for Thinkpads generically

It seems that a workaround for Thinkpad T440s crackling noise can be
applied generically to all Thinkpad models: namely, disabling the
default alc269 shutup callback.  This patch moves it to the existing
alc_fixup_tpt440_dock() while also replacing the rest code with
another existing alc_fixup_disable_aamix().  It resulted in a good
code reduction.

Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=958439
Reported-and-tested-by: Benjamin Poirier <bpoirier@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c