diff options
author | Tushar Behera <[email protected]> | 2014-07-04 14:23:00 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-07-09 10:06:46 +0200 |
commit | 7e07e7c0854b32181b314f5ba43007629594663a (patch) | |
tree | 4445c7b2fe423b4f14503e47d62ef52c05106154 /tools/perf/scripts/python | |
parent | 1e4c0d7c9a2b44e18fe9e93712672741f70e36da (diff) |
ASoC: core: Fix possible NULL pointer dereference
snd_soc_of_parse_card_name() may be called before card->dev has been
set, which results in a kernel panic.
Unable to handle kernel NULL pointer dereference at virtual address 00000210
PC is at snd_soc_of_parse_card_name+0x18/0x54
LR is at snow_probe+0x5c/0xd4
Add an error check in snd_soc_of_parse_card_name() to take care of this
case and print out a message in case of error.
Signed-off-by: Tushar Behera <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions