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

2020-06-03 Thread Sergei Shtylyov
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

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

2020-06-03 Thread Macpaul Lin
When runtime suspend was enabled, runtime suspend might happened 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 Reviewed-by: Chunfeng Yun --- Changes for v3: - Replace