summaryrefslogtreecommitdiffstats
path: root/sound/mips/ad1843.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mips/ad1843.c')
-rw-r--r--sound/mips/ad1843.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mips/ad1843.c b/sound/mips/ad1843.c
index c624510ec374..586907500ca5 100644
--- a/sound/mips/ad1843.c
+++ b/sound/mips/ad1843.c
@@ -276,7 +276,7 @@ static void ad1843_write_multi(struct snd_ad1843 *ad1843, int argcount, ...)
if (reg == -1)
reg = fp->reg;
else
- BUG_ON(reg != fp->reg);
+ WARN_ON(reg != fp->reg);
m = ((1 << fp->nbits) - 1) << fp->lo_bit;
mask |= m;
bits |= (value << fp->lo_bit) & m;
OpenPOWER on IntegriCloud