linux-sg2042/sound/atmel
Bo Shen b2522f9262 ALSA: atmel/ac97c: correct the unexpected behavior when using uninitial value for reset pin
When pdata->reset_pin is passed with a negative value (means gpio
is invalid), then chip->reset_pin will not be assigned to a vaule,
it will use default value 0. This will cause unexpected behavior.

So, add this patch to correct.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-11 12:10:04 +02:00
..
Kconfig ALSA: AC97: add AC97 support for AT91. 2010-03-25 20:22:15 +01:00
Makefile ALSA: Add ALSA driver for Atmel AC97 controller 2009-02-05 15:08:51 +01:00
abdac.c dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes 2012-02-22 18:15:39 +05:30
ac97c.c ALSA: atmel/ac97c: correct the unexpected behavior when using uninitial value for reset pin 2012-05-11 12:10:04 +02:00
ac97c.h ALSA: snd-atmel-ac97c: cleanup register definitions 2009-04-06 03:54:48 +02:00