From: Dimitris Papastamos Date: Mon, 8 Nov 2010 15:37:07 +0000 (+0000) Subject: ASoC: soc-cache: Use BUG_ON() for unsupported hw_read() calls X-Git-Tag: v2.6.38-rc1~236^2^2~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aaa062c27273d21d1f52ddc20e697b6466057d4;p=pandora-kernel.git ASoC: soc-cache: Use BUG_ON() for unsupported hw_read() calls Instead of dereferencing a NULL function pointer and falling apart use BUG_ON() for any unimplemented hw_read() calls. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed