diff options
| author | Uwe Kleine-König <[email protected]> | 2023-09-26 10:32:29 +0200 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-09-27 16:18:01 -0700 |
| commit | f1a1bc8775b26345aba2be278118999e7f661d3d (patch) | |
| tree | 65d1ebf0f9719d29d1fa4526b6ad124d7524def0 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 9b09c0f289c5a8fc5e9b0c1f3cd2766d33b910dc (diff) | |
soc: qcom: llcc: Handle a second device without data corruption
Usually there is only one llcc device. But if there were a second, even
a failed probe call would modify the global drv_data pointer. So check
if drv_data is valid before overwriting it.
Signed-off-by: Uwe Kleine-König <[email protected]>
Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions