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

2023-05-16 Thread Vinod Koul
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 |

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

2023-05-08 Thread Matthias Brugger
On 02/05/2023 16: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 | e

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

2023-05-04 Thread 云春峰
On Tue, 2023-05-02 at 10:50 -0400, Tom Rix wrote: > External email : Please do not click links or open attachments until > you have verified the sender or the content. > > > gcc on aarch64 reports > drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c: In function > ‘mtk_hdmi_pll_set_rate’: > drivers/phy/m

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

2023-05-02 Thread Tom Rix
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 <