diff options
| author | 2011-02-07 22:01:41 +0300 | |
|---|---|---|
| committer | 2011-02-08 11:27:45 +0000 | |
| commit | 46fdaa3bec1bcaa36759b1f5e5e27245ae465b8f (patch) | |
| tree | 2ce1696415cd65f6722a8bd4116ca8c1971f702d /tools/perf/scripts/python | |
| parent | ASoC: CS4271: Move Chip Select control out of the CODEC code. (diff) | |
ASoC: soc-cache: dereferencing before checking
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
