summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai2012-09-10 09:39:31 +0200
committerTakashi Iwai2012-09-10 10:26:23 +0200
commit07dc59f0988cb54fd87bd373b3b27eb2401dd811 (patch)
tree6cf9ec43ccd20298698cca8aa534d1dae51a7bff /sound/core
parentALSA: usb-audio: Fix bogus error messages for delay accounting (diff)
downloadkernel-qcow2-linux-07dc59f0988cb54fd87bd373b3b27eb2401dd811.tar.gz
kernel-qcow2-linux-07dc59f0988cb54fd87bd373b3b27eb2401dd811.tar.xz
kernel-qcow2-linux-07dc59f0988cb54fd87bd373b3b27eb2401dd811.zip
ALSA: hda - Fix Oops at codec reset/reconfig
snd_hda_codec_reset() calls restore_pincfgs() where the codec is powered up again, which eventually tries to resume and initialize via the callbacks of the codec. However, it's the place just after codec free callback, thus no codec callbacks should be called after that. On a codec like CS4206, it results in Oops due to the access in init callback. This patch fixes the issue by clearing the codec callbacks properly after freeing codec. Reported-by: Daniel J Blueman <daniel@quora.org> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions