diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-11-05 18:39:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-06 10:26:28 +0000 |
commit | 4a9e0f919c44fad6a2c591c6aed519ca3247515b (patch) | |
tree | 7287845c5e7775b001e4be8a39d0bd2133a77538 | |
parent | bf90e895b51f61722681c1ee6e99113cbeba7d13 (diff) | |
download | blackbird-op-linux-4a9e0f919c44fad6a2c591c6aed519ca3247515b.tar.gz blackbird-op-linux-4a9e0f919c44fad6a2c591c6aed519ca3247515b.zip |
ASoC: wm8580: Use WARN() instead of BUG_ON()
Use WARN() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/wm8580.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 5e9c40fa7eb2..08a414b57b1e 100644 --- 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; } |