diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2017-04-26 20:50:07 +0900 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-02 12:44:50 +0300 |
commit | cdc876877ebc3f0677b267756d4564e2a429e730 (patch) | |
tree | 0fc6fc28627f6beaaf21203020af012bc9c7afd4 /drivers/clocksource/nomadik-mtu.c | |
parent | dc9217b69dd6089dcfeb86ed4b3c671504326087 (diff) |
usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling
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>
Diffstat (limited to 'drivers/clocksource/nomadik-mtu.c')
0 files changed, 0 insertions, 0 deletions