Skip to content
Commit a24d5072 authored by macpaul-lin-mtk's avatar macpaul-lin-mtk Committed by Greg Kroah-Hartman
Browse files

usb: host: xhci-mtk: avoid runtime suspend when removing hcd



When runtime suspend was enabled, runtime suspend might 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-mtk's avatarMacpaul Lin <macpaul.lin@mediatek.com>
Reviewed-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200624135949.22611-4-mathias.nyman@linux.intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a73d9d9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment