forked from Minki/linux
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>
This commit is contained in:
parent
bf90e895b5
commit
4a9e0f919c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user