diff options
| author | Jarkko Nikula <[email protected]> | 2010-09-05 19:10:22 +0300 |
|---|---|---|
| committer | Liam Girdwood <[email protected]> | 2010-09-06 11:36:22 +0100 |
| commit | c776357e0adc2a25bd22eb75155030132c88a0dd (patch) | |
| tree | 917edb0d57554a9a1a68ab471c41cdbede3617af /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 098b1718230466b48f2027eb26cdc921760ae5da (diff) | |
ASoC: tlv320aic3x: Fix null pointer dereference when pdata is not set
Null pointer dereference will occur from *setup = pdata->setup if pdata
is not set. Fix this by moving assignments from pdata inside non-null case.
Thanks to Jiri Slaby <[email protected]> for noticing.
Signed-off-by: Jarkko Nikula <[email protected]>
Cc: Jiri Slaby <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions