]> www.infradead.org Git - linux.git/commit
phy: starfive: Correct the dphy configure process
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Thu, 27 Jun 2024 02:00:59 +0000 (19:00 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Jul 2024 13:19:14 +0000 (18:49 +0530)
commit8d2a3539517dbf13e970b3aabdf94b04a65d276c
treefe6937787e8faf4db68fe94d1331258c12d02800
parent04490b621ab16d09ce5b7c62b2c8cc9fdb871421
phy: starfive: Correct the dphy configure process

We actually want to calculate the alignment values first, then
use the alignment value to look up the data from reg_configs[].

Fixes: d3ab79553308 ("phy: starfive: Add mipi dphy tx support")
Reviewed-by: Shengyang Chen <shengyang.chen@starfivetech.com>
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Link: https://lore.kernel.org/r/20240627020059.163535-1-changhuang.liang@starfivetech.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/starfive/phy-jh7110-dphy-tx.c