phy: sun4i-usb: Update PHY#3 rst_mask only for H3_H5
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:04:22 +0000 (12:34 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 31 Jul 2018 06:11:49 +0000 (11:41 +0530)
commit69aa1b234e14503a95f43e33f0b3d4174f350bd2
tree0f4a25280da598de3d82fd01410c597df654e300
parent52185b094d6283808d67d64949891edbe26abba2
phy: sun4i-usb: Update PHY#3 rst_mask only for H3_H5

Only H3 and H5 have 4 PHYS so restrict rst_mask only for them
by checking PHY id as 3 and update the proper bits.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/phy/allwinner/phy-sun4i-usb.c