aw_usbphy: Fix write of unknown register

Some SoC require a write to a unknown register to work corectly.
This write should be in the pmu region not in the phy ctrl one.

Reported by:	Mark Millard (markmi@dsl-only.net)
This commit is contained in:
Emmanuel Vadot 2017-09-26 19:19:44 +00:00
parent 255811d758
commit 1eca1d26fd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324020

View File

@ -158,7 +158,7 @@ awusbphy_configure(device_t dev, int phyno)
return;
if (sc->phy_conf->pmu_unk1 == true)
CLR4(sc->phy_ctrl, PMU_UNK_H3, PMU_UNK_H3_CLR);
CLR4(sc->pmu[phyno], PMU_UNK_H3, PMU_UNK_H3_CLR);
if (sc->phy_conf->phy0_route == true) {
if (phyno == 0)