diff options
author | 2014-09-09 16:51:49 +0100 | |
---|---|---|
committer | 2014-09-09 20:59:06 +0100 | |
commit | 133c2681c4a0c1b589d138c2fdd0f131bdce20ed (patch) | |
tree | 90150b0ac1c1a399b4b1d62ccf90c014d7974bad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-dev-133c2681c4a0c1b589d138c2fdd0f131bdce20ed.tar.xz linux-dev-133c2681c4a0c1b589d138c2fdd0f131bdce20ed.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions