ALSA: hda/ca0132 - Check download state of DSP.
authorDylan Reid <dgreid@chromium.org>
Fri, 15 Mar 2013 00:27:45 +0000 (17:27 -0700)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Mar 2013 06:40:39 +0000 (07:40 +0100)
commite8f1bd5d77484a1088797fd5689b1a37148a170e
tree127733b992fb9a804db9d5a48a817b377806196c
parentd1d28500cccc269fdbf81ba33d7328d1d2c04b2f
ALSA: hda/ca0132 - Check download state of DSP.

Instead of using the dspload_is_loaded() function, check the dsp_state
that is kept in the spec.  The dspload_is_loaded() function returns
true if the DSP transfer was never started.  This false-positive leads
to multiple second delays when ca0132_setup_efaults() times out on
each write.

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