phy: allwinner: phy-sun6i-mipi-dphy: Set the enable bit last
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Nov 2022 02:21:11 +0000 (20:21 -0600)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:34:23 +0000 (23:04 +0530)
commitcb7f49a31597066b25c9bc6a0bf0781454dd4d2b
tree97609e42ca4dec5b62abad5a21f4f17ccd07d5f4
parenta709ae51e22802822de85ec7b672cf1cc5412fc0
phy: allwinner: phy-sun6i-mipi-dphy: Set the enable bit last

The A100 variant of the DPHY requires configuring the analog registers
before setting the global enable bit. Since this order also works on the
other variants, always use it, to minimize the differences between them.

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221114022113.31694-7-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/allwinner/phy-sun6i-mipi-dphy.c