]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedf15f48f209df72d791c1bdc679d45b2ccfe583
tree008cd030ae732cc9cfb5f4cdce5b81e918120869
parentef485dc42cc422f47419acc3a39b2cb2597199b5
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