diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-01-29 10:23:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-30 09:22:35 +0100 |
commit | e04585184dcf792cd053d6ce84091201e45c2225 (patch) | |
tree | 7b10ab2d6147151b6ecd460c6d9c48049e7459e9 /lib/debugobjects.c | |
parent | 12453a897e36665d75f1d7b722159ae1eeadf81c (diff) |
usb: ehci-orion: avoid double PHY initialization
No need to initialize the PHY from the driver's probe. It is done by
the core automatically and doing it twice would increment the
phy->powercount counter to 2 instead of 1. During later suspend
operation, the counter will be decremented to one, no phy->power_off()
will occur and worse than that, the following phy->power_on() at
resume time will also be skipped, failing the whole S2RAM operation.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions