ASoC: Blackfin: move gpio_err behind the define that is only user of it
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
de0b988828
Коммит
3465d93a12
|
@ -357,8 +357,8 @@ sport_config_err:
|
||||||
sport_err:
|
sport_err:
|
||||||
#ifdef CONFIG_SND_BF5XX_HAVE_COLD_RESET
|
#ifdef CONFIG_SND_BF5XX_HAVE_COLD_RESET
|
||||||
gpio_free(CONFIG_SND_BF5XX_RESET_GPIO_NUM);
|
gpio_free(CONFIG_SND_BF5XX_RESET_GPIO_NUM);
|
||||||
#endif
|
|
||||||
gpio_err:
|
gpio_err:
|
||||||
|
#endif
|
||||||
peripheral_free_list(sport_req[sport_num]);
|
peripheral_free_list(sport_req[sport_num]);
|
||||||
peripheral_err:
|
peripheral_err:
|
||||||
free_page((unsigned long)cmd_count);
|
free_page((unsigned long)cmd_count);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче