diff options
Diffstat (limited to 'sound/atmel/ac97c.c')
-rw-r--r-- | sound/atmel/ac97c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index 115313ef54d6..f5ded640b395 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c | |||
@@ -991,6 +991,8 @@ static int __devinit atmel_ac97c_probe(struct platform_device *pdev) | |||
991 | gpio_direction_output(pdata->reset_pin, 1); | 991 | gpio_direction_output(pdata->reset_pin, 1); |
992 | chip->reset_pin = pdata->reset_pin; | 992 | chip->reset_pin = pdata->reset_pin; |
993 | } | 993 | } |
994 | } else { | ||
995 | chip->reset_pin = -EINVAL; | ||
994 | } | 996 | } |
995 | 997 | ||
996 | snd_card_set_dev(card, &pdev->dev); | 998 | snd_card_set_dev(card, &pdev->dev); |