linux/drivers/slimbus
Bjorn Andersson 39014ce6d6 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: 917809e228 ("slimbus: ngd: Add qcom SLIMBus NGD driver")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201127102451.17114-7-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-27 16:03:43 +01:00
..
core.c slimbus: core: do not enter to clock pause mode in core 2020-09-25 14:41:50 +02:00
Kconfig slimbus: qcom-ngd-ctrl: add Protection Domain Restart Support 2020-11-27 16:03:42 +01:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: Fix fall-through warnings for Clang 2020-11-27 16:03:43 +01:00
qcom-ctrl.c slimbus: qcom: add missed clk_disable_unprepare in remove 2020-01-14 21:46:48 +01:00
qcom-ngd-ctrl.c slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI 2020-11-27 16:03:43 +01:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: fix a kernel-doc markup 2020-11-27 16:03:42 +01:00
stream.c slimbus: fix kerneldoc comments 2019-06-10 18:44:21 +02:00