diff options
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 284e0532e0cb..8cb81fdd29be 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -754,7 +754,7 @@ static void tegra_dsi_init_sw(struct tegra_dc *dc, } #define SELECT_T_PHY(platform_t_phy_ps, default_phy, clk_ps, hw_inc) ( \ -(platform_t_phy_ps) ? ( \ +(platform_t_phy_ps) != 0 ? ( \ ((DSI_CONVERT_T_PHY_PS_TO_T_PHY(platform_t_phy_ps, clk_ps, hw_inc)) < 0 ? 0 : \ (DSI_CONVERT_T_PHY_PS_TO_T_PHY(platform_t_phy_ps, clk_ps, hw_inc)))) : \ ((default_phy) < 0 ? 0 : (default_phy))) |