kernel_optimize_test/sound/pci/echoaudio
Mark Hills c914f55f7c ALSA: echoaudio: Remove incorrect part of assertion
This assertion seems to imply that chip->dsp_code_to_load is a pointer.
It's actually an integer handle on the actual firmware, and 0 has no
special meaning.

The assertion prevents initialisation of a Darla20 card, but would also
affect other models. It seems it was introduced in commit dd7b254d.

ALSA sound/pci/echoaudio/echoaudio.c:2061 Echoaudio driver starting...
ALSA sound/pci/echoaudio/echoaudio.c:1969 chip=ebe4e000
ALSA sound/pci/echoaudio/echoaudio.c:2007 pci=ed568000 irq=19 subdev=0010 Init hardware...
ALSA sound/pci/echoaudio/darla20_dsp.c:36 init_hw() - Darla20
------------[ cut here ]------------
WARNING: at sound/pci/echoaudio/echoaudio_dsp.c:478 init_hw+0x1d1/0x86c [snd_darla20]()
Hardware name: Dell DM051
BUG? (!chip->dsp_code_to_load || !chip->comm_page)

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-06 12:54:20 +02:00
..
darla20_dsp.c
darla20.c
darla24_dsp.c
darla24.c
echo3g_dsp.c
echo3g.c
echoaudio_3g.c
echoaudio_dsp.c
echoaudio_dsp.h
echoaudio_gml.c
echoaudio.c
echoaudio.h
gina20_dsp.c
gina20.c
gina24_dsp.c
gina24.c
indigo_dsp.c
indigo_express_dsp.c
indigo.c
indigodj_dsp.c
indigodj.c
indigodjx_dsp.c
indigodjx.c
indigoio_dsp.c
indigoio.c
indigoiox_dsp.c
indigoiox.c
layla20_dsp.c
layla20.c
layla24_dsp.c
layla24.c
Makefile
mia_dsp.c
mia.c
midi.c
mona_dsp.c
mona.c