summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorPrasad Joshi2012-08-31 05:25:21 +0200
committerMark Brown2012-08-31 23:24:52 +0200
commitfd4fb262b31ecb06bf93defb036e72b33ddf0200 (patch)
tree1649a8e8ab2e7fb5ac43f8ebcfe04e732cae9d42 /sound/soc/codecs/arizona.c
parentsound: tegra_alc5632: remove HP detect GPIO inversion (diff)
downloadkernel-qcow2-linux-fd4fb262b31ecb06bf93defb036e72b33ddf0200.tar.gz
kernel-qcow2-linux-fd4fb262b31ecb06bf93defb036e72b33ddf0200.tar.xz
kernel-qcow2-linux-fd4fb262b31ecb06bf93defb036e72b33ddf0200.zip
ASoC: spear: correct the check for NULL dma_buffer pointer
The if condition if (!buf && !buf->area) checks if the buf pointer is NULL and then dereferences it again to check if the buffer area is NULL, resulting in possible NULL dereference. Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
0 files changed, 0 insertions, 0 deletions