Files
linux/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 <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
2012-05-11 12:10:04 +02:00
..
2010-03-25 20:22:15 +01:00