ASoC: bf5xx-ac97: Fix compile error with SND_BF5XX_HAVE_COLD_RESET
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 30 Jul 2013 11:34:09 +0000 (13:34 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 30 Jul 2013 11:51:02 +0000 (12:51 +0100)
commit610d80eaa987e7b1a2d07ee800c9722e227a3b47
tree4b01075e550fb3d047e0869ebdbca39c969b2591
parent1deb57042fe2bd14cd7d4687f3c9418d26862053
ASoC: bf5xx-ac97: Fix compile error with SND_BF5XX_HAVE_COLD_RESET

If CONFIG_SND_BF5XX_HAVE_COLD_RESET is enabled building the blackfin ac97 driver
fails with the following compile error:
sound/soc/blackfin/bf5xx-ac97.c: In function ‘asoc_bfin_ac97_probe’:
sound/soc/blackfin/bf5xx-ac97.c:297: error: expected ‘;’ before ‘{’ token
sound/soc/blackfin/bf5xx-ac97.c:302: error: label ‘gpio_err’ used but not defined

The issue was introduced in commit 6dab2fd7 ("ASoC: bf5xx-ac97: Convert to
devm_gpio_request_one()").

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/blackfin/bf5xx-ac97.c