aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-05 09:33:40 -0500
committerTakashi Iwai <tiwai@suse.de>2013-11-06 02:35:28 -0500
commit88ec7ae82dff8ca815ff8a31622a2811240b5d0c (patch)
treed065320a40a1e8358d26a8fea78e26c97a9662ee /sound/arm
parentc3cd1badc86c62f64f7e1d7034b078cb7e9b254b (diff)
ALSA: pxa2xx: Replace BUG() with snd_BUG()
BUG() used in the driver is just to spit the stack trace on buggy points, not really needed to stop the whole operation. For that purpose, it'd be more convenient to use snd_BUG() instead. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/pxa2xx-ac97-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c
index 99a466822a7d..66de90ed30ca 100644
--- a/sound/arm/pxa2xx-ac97-lib.c
+++ b/sound/arm/pxa2xx-ac97-lib.c
@@ -208,7 +208,7 @@ bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97)
208 pxa_ac97_warm_pxa3xx(); 208 pxa_ac97_warm_pxa3xx();
209 else 209 else
210#endif 210#endif
211 BUG(); 211 snd_BUG();
212 212
213 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) 213 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--)
214 mdelay(1); 214 mdelay(1);
@@ -245,7 +245,7 @@ bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97)
245 pxa_ac97_cold_pxa3xx(); 245 pxa_ac97_cold_pxa3xx();
246 else 246 else
247#endif 247#endif
248 BUG(); 248 snd_BUG();
249 249
250 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) 250 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--)
251 mdelay(1); 251 mdelay(1);