From: Takashi Iwai Date: Tue, 5 Nov 2013 17:40:00 +0000 (+0100) Subject: ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c452bdac799e5ab94d658ea3517cfd57d832e6e;p=pandora-kernel.git 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 Reviewed-by: Charles Keepax Signed-off-by: Mark Brown --- Reading git-diff-tree failed