Re: [PATCH] slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI

From: Srinivas Kandagatla
Date: Wed Nov 25 2020 - 04:58:11 EST




On 25/11/2020 05:42, Bjorn Andersson wrote:
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 <bjorn.andersson@xxxxxxxxxx>


Applied thanks,

--srini