[alsa-devel] [PATCH] ASoC: soc-cache: Use BUG_ON() for unsupported hw_read() calls

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 8 18:28:36 CET 2010


On Mon, Nov 08, 2010 at 03:37:07PM +0000, Dimitris Papastamos wrote:
> Instead of dereferencing a NULL function pointer and falling apart
> use BUG_ON() for any unimplemented hw_read() calls.
> 
> Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>

Applied, thanks.


More information about the Alsa-devel mailing list