linux/drivers/phy/mediatek
Guillaume Ranquet 9d9ff3d2a4 phy: mediatek: hdmi: mt8195: fix wrong pll calculus
The clock rate calculus in mtk_hdmi_pll_calc() was wrong when it has
been replaced by 'div_u64'.

Fix the issue by multiplying the values in the denominator instead of
dividing them.

Fixes: 45810d486b ("phy: mediatek: add support for phy-mtk-hdmi-mt8195")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Link: https://lore.kernel.org/r/20230413-fixes-for-mt8195-hdmi-phy-v2-2-bbad62e64321@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-05-04 23:12:11 +05:30
..
Kconfig phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
Makefile phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-dp.c phy: phy-mtk-dp: make array driving_params static const 2022-09-29 21:01:27 +05:30
phy-mtk-hdmi-mt2701.c phy: mediatek: hdmi: mt2701: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8173.c phy: mediatek: hdmi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8195.c phy: mediatek: hdmi: mt8195: fix wrong pll calculus 2023-05-04 23:12:11 +05:30
phy-mtk-hdmi-mt8195.h phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-hdmi.c phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-hdmi.h phy: mediatek: add support for phy-mtk-hdmi-mt8195 2023-04-12 21:56:41 +05:30
phy-mtk-io.h phy: mediatek: remove temporary variable @mask_ 2023-02-02 18:35:13 +05:30
phy-mtk-mipi-dsi-mt8173.c phy: mediatek: mipi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-mipi-dsi-mt8183.c phy: mediatek: mipi: mt8183: use common helper to access registers 2022-09-24 11:57:51 +05:30
phy-mtk-mipi-dsi.c phy: mediatek: phy-mtk-mipi-dsi: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-mtk-mipi-dsi.h phy: mediatek: mipi: remove register access helpers 2022-09-24 11:57:51 +05:30
phy-mtk-pcie.c phy: mediatek: pcie: use new helper to update register bits 2022-09-24 11:57:49 +05:30
phy-mtk-tphy.c phy: mediatek: tphy: remove macros to prepare bitfield value 2022-09-24 11:57:49 +05:30
phy-mtk-ufs.c phy: mediatek: ufs: use common register access helpers 2022-09-24 11:57:49 +05:30
phy-mtk-xsphy.c phy: mediatek: xsphy: remove macros used to prepare bitfield value 2022-09-24 11:57:49 +05:30