commit | bf4edea863c435c302041cf8bb01c8b3ca729449 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Nov 07 18:38:47 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Thu Nov 07 19:59:53 2013 +0000 |
tree | fd1443d7fa34648d88b248dfee49034e2d8e82e1 | |
parent | 6c452bdac799e5ab94d658ea3517cfd57d832e6e [diff] |
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>