projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf90e89
)
ASoC: wm8580: Use WARN() instead of BUG_ON()
author
Takashi Iwai
<tiwai@suse.de>
Tue, 5 Nov 2013 17:39:54 +0000
(18:39 +0100)
committer
Mark Brown
<broonie@linaro.org>
Wed, 6 Nov 2013 10:26:28 +0000
(10:26 +0000)
Use WARN() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8580.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8580.c
b/sound/soc/codecs/wm8580.c
index
5e9c40f
..
08a414b
100644
(file)
--- a/
sound/soc/codecs/wm8580.c
+++ b/
sound/soc/codecs/wm8580.c
@@
-736,7
+736,7
@@
static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id,
break;
default:
-
BUG_ON(
"Unknown DAI driver ID\n");
+
WARN(1,
"Unknown DAI driver ID\n");
return -EINVAL;
}