diff options
author | Bin Liu <b-liu@ti.com> | 2018-12-18 07:58:05 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-12 19:47:12 +0100 |
commit | 05bc28a1f991f48856ddb4adc655fac592b2abd0 (patch) | |
tree | c199cb4e91995b6eb601d3bca8fe490198d484d2 /tools/perf/util | |
parent | 2a86649dce14fdb53735fe3b10fa611b6f45fdb2 (diff) |
usb: musb: dsps: fix runtime pm for peripheral mode
[ Upstream commit 54578ee883e34d2d1c518d48f1c1e2dd3f387188 ]
Since the runtime PM support was added in musb, dsps relies on the timer
calling otg_timer() to activate the usb subsystem. However the driver
doesn't enable the timer for peripheral port, then the peripheral port is
unable to be enumerated by a host if the other usb port is disabled or in
peripheral mode too.
So let's start the timer for peripheral port too.
Fixes: ea2f35c01d5e ("usb: musb: Fix sleeping function called from invalid context for hdrc glue")
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions