summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-07 18:38:47 +0100
committerMark Brown <broonie@linaro.org>2013-11-07 20:59:53 +0100
commitbf4edea863c435c302041cf8bb01c8b3ca729449 (patch)
treefd1443d7fa34648d88b248dfee49034e2d8e82e1 /sound/soc/pxa
parentASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages (diff)
downloadlinux-bf4edea863c435c302041cf8bb01c8b3ca729449.tar.xz
linux-bf4edea863c435c302041cf8bb01c8b3ca729449.zip
ASoC: dapm: Use WARN_ON() instead of BUG_ON()
Leaving BUG_ON() in a core layer like dapm is rather inappropriate as it leads to panic(), even though sanity checks might be still useful for debugging. Instead, Use WARN_ON(), and handle the error cases accordingly. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/pxa')
0 files changed, 0 insertions, 0 deletions