Searched hist:c7573ba3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-mipi-dsi-mt8183.c | c7573ba3 Thu Nov 23 05:02:02 CST 2023 Michael Walle <mwalle@kernel.org> phy: mediatek: mipi: mt8183: fix minimal supported frequency
[ Upstream commit 06f76e464ac81c6915430b7155769ea4ef16efe4 ]
The lowest supported clock frequency of the PHY is 125MHz (see also mtk_mipi_tx_pll_enable()), but the clamping in .round_rate() has the wrong minimal value, which will make the .enable() op return -EINVAL on low frequencies. Fix the minimal clamping value.
Fixes: efda51a58b4a ("drm/mediatek: add mipi_tx driver for mt8183") Signed-off-by: Michael Walle <mwalle@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20231123110202.2025585-1-mwalle@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
|