]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix error handling in patch_ca0132.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Feb 2012 10:00:53 +0000 (11:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Feb 2012 10:05:07 +0000 (11:05 +0100)
commitebd1c20fa213b6bc1d55374d50e67df322eefdfe
treed2445b214365e370727e700896be9398662ed50d
parent8b47099577169fee9cb671132342e52c12a08100
ALSA: hda - Fix error handling in patch_ca0132.c

In patch_ca0132.c, the error returned from chipio_write() isn't checked
always.  Also, the power-up/down sequence isn't tracked properly in some
error paths.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c