Re: [PATCH v3] usb: host: xhci-mtk: avoid runtime suspend when removing hcd

From: Sergei Shtylyov
Date: Wed Jun 03 2020 - 13:42:51 EST


Hello.

On 03.06.2020 16:09, Macpaul Lin wrote:

When runtime suspend was enabled, runtime suspend might happened

Happen.

when xhci is removing hcd. This might cause kernel panic when hcd
has been freed but runtime pm suspend related handle need to
reference it.

Signed-off-by: Macpaul Lin <macpaul.lin@xxxxxxxxxxxx>
Reviewed-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
[...]

MBR, Sergei