diff options
| author | Stefano Radaelli <stefano.radaelli21@gmail.com> | 2025-12-19 17:09:12 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-23 20:53:45 +0530 |
| commit | 8becf9179a4b45104a1701010ed666b55bf4b3a6 (patch) | |
| tree | 33d5fe6bc6279fa1e04d2495c473cdeb7ac9f3ea /include/linux/memory/git@git.tavy.me:linux.git | |
| parent | 393e132efcc5e3fc4ef2bd9bbed2a096096c9359 (diff) | |
phy: fsl-imx8mq-usb: Clear the PCS_TX_SWING_FULL field before using it
Clear the PCS_TX_SWING_FULL field mask before setting the new value
in PHY_CTRL5 register. Without clearing the mask first, the OR operation
could leave previously set bits, resulting in incorrect register
configuration.
Fixes: 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning")
Suggested-by: Leonid Segal <leonids@variscite.com>
Acked-by: Pierluigi Passaro <pierluigi.p@variscite.com>
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
Reviewed-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://patch.msgid.link/20251219160912.561431-1-stefano.r@variscite.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/memory/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
