diff options
author | Richard Fitzgerald <[email protected]> | 2021-10-25 12:22:58 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-10-25 12:38:24 +0100 |
commit | 2003c44e28ac9759200a78dda20c5f695949e3f4 (patch) | |
tree | 520a265a25e2df821f0fd109deb3e958c54e073b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 044c114014435fa723e2a0540cb7ef55d2c812da (diff) |
ASoC: cs42l42: Prevent NULL pointer deref in interrupt handler
The interrupt handling code was getting the struct device* from a
struct snd_soc_component* stored in struct cs42l42_private. If the
interrupt was asserted before ASoC calls component_probe() the
snd_soc_component* will be NULL.
The stored snd_soc_component* is not actually used for anything other
than indirectly getting the struct device*. Remove it, and store the
struct device* in struct cs42l42_private.
Signed-off-by: Richard Fitzgerald <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions