diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-11-05 12:39:54 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-06 05:26:28 -0500 |
commit | 4a9e0f919c44fad6a2c591c6aed519ca3247515b (patch) | |
tree | 7287845c5e7775b001e4be8a39d0bd2133a77538 /sound/soc | |
parent | bf90e895b51f61722681c1ee6e99113cbeba7d13 (diff) |
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>
Diffstat (limited to 'sound/soc')
-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, | |||
736 | break; | 736 | break; |
737 | 737 | ||
738 | default: | 738 | default: |
739 | BUG_ON("Unknown DAI driver ID\n"); | 739 | WARN(1, "Unknown DAI driver ID\n"); |
740 | return -EINVAL; | 740 | return -EINVAL; |
741 | } | 741 | } |
742 | 742 | ||