]> Git Repo - linux.git/commit - sound/soc/codecs/wm_adsp.c
ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages
authorTakashi Iwai <[email protected]>
Tue, 5 Nov 2013 17:40:00 +0000 (18:40 +0100)
committerMark Brown <[email protected]>
Thu, 7 Nov 2013 19:55:21 +0000 (19:55 +0000)
commit6c452bdac799e5ab94d658ea3517cfd57d832e6e
tree5125fc75cd1ea721ce7fa4946cbe106499faea73
parenta6ed0608bd289b45a9e42e3b0f33ff55bdac9b0f
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 <[email protected]>
Reviewed-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/wm_adsp.c
This page took 0.055624 seconds and 4 git commands to generate.