7 Feb
2011
7 Feb
'11
8:11 p.m.
On Mon, 2011-02-07 at 22:01 +0300, Dan Carpenter wrote:
The patch c358e640a66 "ASoC: soc-cache: Add trace event for snd_soc_cache_sync()" introduced a dereference of "codec->cache_ops" before we had checked it for NULL.
I pulled the check forward, and then pulled everything in an indent level.
Signed-off-by: Dan Carpenter error27@gmail.com
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk