soc: qcom: Correct the modem data for wdog bite handler

Correct the modem data for wdog bite handler, otherwise it will access
a invalid subsys.

Change-Id: Iedd7b85597fa95d283d3a7b9bdd59c8a7c765792
Signed-off-by: lijuang <lijuang@codeaurora.org>
This commit is contained in:
lijuang 2021-06-30 19:45:11 +08:00 • committed by Gerrit - the friendly Code Review server
commit dcb104f131

View file

@ -260,7 +260,7 @@ static int modem_ramdump(int enable, const struct subsys_desc *subsys)
static irqreturn_t modem_wdog_bite_intr_handler(int irq, void *dev_data)
{
struct modem_data *drv = subsys_to_drv(dev_data);
struct modem_data *drv = dev_data;
if (drv->ignore_errors)
return IRQ_HANDLED;