ASoC: Blackfin: move gpio_err behind the define that is only user of it
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 6 Mar 2009 07:53:28 +0000 (15:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Mar 2009 13:37:17 +0000 (13:37 +0000)
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>
sound/soc/blackfin/bf5xx-ac97.c

index 5885702c78fff9a6e7014e9ba8ea6df652a7f7c1..8a935f2d17674683186fc26d48d890c835ad3f3c 100644 (file)
@@ -357,8 +357,8 @@ sport_config_err:
 sport_err:
 #ifdef CONFIG_SND_BF5XX_HAVE_COLD_RESET
        gpio_free(CONFIG_SND_BF5XX_RESET_GPIO_NUM);
-#endif
 gpio_err:
+#endif
        peripheral_free_list(sport_req[sport_num]);
 peripheral_err:
        free_page((unsigned long)cmd_count);