[alsa-devel] [PATCH] ASoC: soc-cache: Use BUG_ON() for unsupported hw_read() calls
Liam Girdwood
lrg at slimlogic.co.uk
Mon Nov 8 16:42:53 CET 2010
On Mon, 2010-11-08 at 15:37 +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>
> ---
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list