summaryrefslogtreecommitdiff
path: root/sound/soc/davinci
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-09-09 19:51:49 +0400
committerMark Brown <broonie@linaro.org>2014-09-09 23:59:06 +0400
commit133c2681c4a0c1b589d138c2fdd0f131bdce20ed (patch)
tree90150b0ac1c1a399b4b1d62ccf90c014d7974bad /sound/soc/davinci
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadlinux-133c2681c4a0c1b589d138c2fdd0f131bdce20ed.tar.xz
ASoC: samsung-i2s: Check secondary DAI exists before referencing
In a couple of places the driver is missing a check to ensure there is a secondary DAI before it de-references the pointer to it, causing a null pointer de-reference. This patch adds a check to avoid this. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/davinci')
0 files changed, 0 insertions, 0 deletions