diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2010-11-08 10:37:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-08 11:51:30 -0500 |
commit | 5aaa062c27273d21d1f52ddc20e697b6466057d4 (patch) | |
tree | 93ce7c2d0fcbe0d79c960e01fe391b3e135f3d65 /sound/soc/codecs/wm8580.c | |
parent | 989db2005c328300239da4df4d80b057f8509d3b (diff) |
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 <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8580.c')
0 files changed, 0 insertions, 0 deletions