ath79: phy-ar7200-usb: adapt old behavior of arch/mips/ath79/dev-usb.c
authorJohann Neuhauser <johann@it-neuhauser.de>
Thu, 19 Dec 2019 12:07:17 +0000 (13:07 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Jan 2020 22:15:20 +0000 (23:15 +0100)
commit6cca6fffa06b1996f9bcc280f766e8ba4fa97d45
treea457a7dfe7a48c57ebfd7d3d3f5ff4edda1a0e6c
parent788c8485eb5b71ef7e7b2a2d3077772e526e9746
ath79: phy-ar7200-usb: adapt old behavior of arch/mips/ath79/dev-usb.c

Do not put usb-phy into reset if clearing the usb-phy reset or
setting the suspend_override has failed.

Reorder (de)asserts like in arch/mips/ath79/dev-usb.c.

Add an optional reset_control "usb-phy-analog", which is needed for
ar934x SoCs like in the old mach-driver arch/mips/ath79/dev-usb.c.

Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch