commit | 6c452bdac799e5ab94d658ea3517cfd57d832e6e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Nov 05 18:40:00 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Thu Nov 07 19:55:21 2013 +0000 |
tree | 5125fc75cd1ea721ce7fa4946cbe106499faea73 | |
parent | a6ed0608bd289b45a9e42e3b0f33ff55bdac9b0f [diff] |
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>