Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d699c1d0 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Kishon Vijay Abraham I
Browse files

phy: sun4i-usb: change PHYCTL register clearing code



It seems that all SoCs with the PHYCTL register offset as 0x10 need the
PHYCTL register to be cleared before it's written.

Change PHYCTL register clearing code to judge whether clearing is needed
based on the PHYCTL offset.

Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent a0b1910e
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