phy: cpcap-usb: Drop extra write to usb2 register
authorTony Lindgren <tony@atomide.com>
Sun, 22 Dec 2019 18:17:04 +0000 (10:17 -0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 26 Dec 2019 10:57:53 +0000 (16:27 +0530)
commitea137a89b5ddeb0061df8eef9b8ceca3d04f48b1
tree008cd030ae732cc9cfb5f4cdce5b81e918120869
parent9492535ecd9b6df89e483ddd05740b3f3d547600
phy: cpcap-usb: Drop extra write to usb2 register

We are currently writing the same register twice. Let's enable the USB
PHY only at the end of the function.

Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/motorola/phy-cpcap-usb.c