summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-04-26 11:50:07 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-24 05:11:15 (GMT)
commit723bd3b9f83fe4ba903351cdaa1e6dfbec8faac0 (patch)
tree89c6197381b6770f9a925c4056b449f64eb180d6 /drivers/s390
parentb51e4b0ac6618814bb1b294086b84aa9a51aaf48 (diff)
downloadlinux-723bd3b9f83fe4ba903351cdaa1e6dfbec8faac0.tar.xz
usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling
commit cdc876877ebc3f0677b267756d4564e2a429e730 upstream. This patch fixes an issue that this driver is possible to access the registers before pm_runtime_get_sync() if a gadget driver is installed first. After that, oops happens on R-Car Gen3 environment. To avoid it, this patch changes the pm_runtime call timing from probe/remove to udc_start/udc_stop. Fixes: 746bfe63bba3 ("usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller") Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions