Thread (3 messages) 3 messages, 3 authors, 2023-05-16

Re: [PATCH v2] phy: mediatek: rework the floating point comparisons to fixed point

From: Vinod Koul <vkoul@kernel.org>
Date: 2023-05-16 14:19:10
Also in: dri-devel, linux-mediatek, linux-phy, lkml

On 02-05-23, 10:50, Tom Rix wrote:
gcc on aarch64 reports
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c: In function ‘mtk_hdmi_pll_set_rate’:
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:240:52: error: ‘-mgeneral-regs-only’
  is incompatible with the use of floating-point types
  240 |         else if (tmds_clk >= 54 * MEGA && tmds_clk < 148.35 * MEGA)

Floating point should not be used, so rework the floating point comparisons
to fixed point.
Applied, thanks

-- 
~Vinod

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help