diff options
author | Jarkko Nikula <[email protected]> | 2014-02-25 16:37:47 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-02-26 08:45:35 +0900 |
commit | 5069e5c93ca73eab185d3bb338a1362275f9ea70 (patch) | |
tree | c0d347fab5362f85101fba760178e3cebd438319 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 20df8d03a7a6d71cc8c1fe54cf2c69b2d416423f (diff) |
ASoC: Intel: sst-acpi: Fix Oops in case of missing firmware
I swear I tested missing firmware in commit e5161d7987f1 ("ASoC: Intel:
sst-acpi: Request firmware before SST platform driver probing").
Unfortunately same wasn't done in commit 6dda27cbbd1d ("ASoC: Intel:
sst-acpi: Add support for multiple machine drivers per platform") which
will cause NULL pointer dereference in sst_acpi_fw_cb() when printing the
error since sst_acpi->mach is not set.
Fix this obvious error by setting the sst_acpi->mach in sst_acpi_probe().
Reported-by: Mika Westerberg <[email protected]>
Signed-off-by: Jarkko Nikula <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions