commit | 5aaa062c27273d21d1f52ddc20e697b6466057d4 | [log] [tgz] |
---|---|---|
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | Mon Nov 08 15:37:07 2010 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Nov 08 16:51:30 2010 +0000 |
tree | 93ce7c2d0fcbe0d79c960e01fe391b3e135f3d65 | |
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>