diff options
author | Macpaul Lin <macpaul.lin@mediatek.com> | 2020-06-24 16:59:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 16:03:41 +0200 |
commit | a24d5072e87457a14023ee1dd3fc8b1e76f899ef (patch) | |
tree | 63b37d381bf1e7f1aa3da62b770ebbf7872fbd53 /lib/kobject.c | |
parent | a73d9d9cfc3cfceabd91fb0b0c13e4062b6dbcd7 (diff) | |
download | linux-stable-a24d5072e87457a14023ee1dd3fc8b1e76f899ef.tar.gz linux-stable-a24d5072e87457a14023ee1dd3fc8b1e76f899ef.tar.bz2 linux-stable-a24d5072e87457a14023ee1dd3fc8b1e76f899ef.zip |
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 <macpaul.lin@mediatek.com>
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200624135949.22611-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions