diff options
author | Tom Rix <[email protected]> | 2023-05-02 10:50:05 -0400 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-05-16 19:48:06 +0530 |
commit | 03262a3f5b5b910c7c2900c2f8884832794355f5 (patch) | |
tree | a05d1f55bd7315c1a50c36a45ca536e11c2a752b /drivers/fpga/fpga-mgr.c | |
parent | e42f110700ed7293700c26145e1ed07ea05ac3f6 (diff) |
phy: mediatek: rework the floating point comparisons to fixed point
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.
Signed-off-by: Tom Rix <[email protected]>
Reviewed-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions