]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132 - Check if dspload_image succeeded.
authorDylan Reid <dgreid@chromium.org>
Fri, 15 Mar 2013 00:27:44 +0000 (17:27 -0700)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Mar 2013 06:40:11 +0000 (07:40 +0100)
commit45e57f40a378b0368832c7b1a36dce0d4c455d03
tree00e3d310121c8cbf781e35e6c57a2dabbdae7b7a
parent789aedb00d929c36fe37d8a309e18cb71e832b43
ALSA: hda/ca0132 - Check if dspload_image succeeded.

If dspload_image() fails, it was ignored and dspload_wait_loaded() was
still called.  dsp_loaded should never be set to true in this case,
skip it.  The check in dspload_wait_loaded() return true if the DSP is
loaded or if it never started.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c