diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-11-05 18:40:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-07 19:55:21 +0000 |
commit | 6c452bdac799e5ab94d658ea3517cfd57d832e6e (patch) | |
tree | 5125fc75cd1ea721ce7fa4946cbe106499faea73 /net | |
parent | a6ed0608bd289b45a9e42e3b0f33ff55bdac9b0f (diff) | |
download | linux-6c452bdac799e5ab94d658ea3517cfd57d832e6e.tar.gz linux-6c452bdac799e5ab94d658ea3517cfd57d832e6e.tar.bz2 linux-6c452bdac799e5ab94d658ea3517cfd57d832e6e.zip |
ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages
This patch does:
- Move the sanity check with WARN_ON() in wm_adsp_region_to_reg() and
remove the checks in the callers,
- Fix wrong WARN_ON() usages, replaced with WARN(),
- Fix unreachable or wrong BUG_ON() usages and replace with WARN_ON().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions