diff options
author | Bjorn Andersson <[email protected]> | 2020-11-27 10:24:50 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-27 16:03:43 +0100 |
commit | 39014ce6d6028614a46395923a2c92d058b6fa87 (patch) | |
tree | ed795b88c8fd9f011c6f24805d6af007bfea6076 /tools/perf/scripts/python | |
parent | a35c6e18abae71c1321a9d1d16d975bd7de65273 (diff) |
slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI
Attempting to send a power request during PM operations, when the QMI
handle isn't initialized results in a NULL pointer dereference. So check
if the QMI handle has been initialized before attempting to post the
power requests.
Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver")
Signed-off-by: Bjorn Andersson <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions