Skip to content
Commit 9f356883 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

sunxi: usb_phy: invert the USB phy_ctl condition



All the new SoCs from Allwinner since the A33 have had the phy_ctl offset
at 0x410 instead of 0x404 that was used on the previous SoCs.

Instead of adding more and more special cases as the number of SoCs grow,
let's invert the test to have 0x410 by default, and the (hopefully) fixed
number of old SoCs being the exception.

Suggested-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
Suggested-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent ea5b1e1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment