Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: ath79-usb: Fix the power on error path

In the power on function the error path doesn't return the suspend
override to its proper state. It should should deassert this reset
line to enable the suspend override.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Alban Bedel and committed by
Kishon Vijay Abraham I
00980815 4fae9279

+1 -1
+1 -1
drivers/phy/qualcomm/phy-ath79-usb.c
··· 31 31 32 32 err = reset_control_deassert(priv->reset); 33 33 if (err && priv->no_suspend_override) 34 - reset_control_assert(priv->no_suspend_override); 34 + reset_control_deassert(priv->no_suspend_override); 35 35 36 36 return err; 37 37 }