]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: host: xhci-plat: enable clk in resume timing
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 19 Apr 2017 13:55:46 +0000 (16:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Apr 2017 17:59:16 +0000 (19:59 +0200)
commit835e4241e714fbd659838618466766b132823da3
tree1af8a91c7b4bc12969aa0bd38be4c847ed9095ee
parentb0c69b4bace3703a29e08dda2b5a10e1073cb9cd
usb: host: xhci-plat: enable clk in resume timing

This patch enables the clk in resume timing when device_may_wakeup()
is false. Otherwise, kernel panic happens when R-Car resumes the system
from Suspend-to-RAM because the clk is disabled.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c