mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
tegra: video: fix tegra_dc_sor_config_panel()
Bitwise OR has a higher operator precedence than the ternary conditional. Add the missing parentheses. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
83064c2706
commit
131c224168
@ -671,8 +671,8 @@ static void tegra_dc_sor_config_panel(struct tegra_dc_sor_data *sor,
|
|||||||
CSTM_ROTCLK_DEFAULT_MASK |
|
CSTM_ROTCLK_DEFAULT_MASK |
|
||||||
CSTM_LVDS_EN_ENABLE,
|
CSTM_LVDS_EN_ENABLE,
|
||||||
2 << CSTM_ROTCLK_SHIFT |
|
2 << CSTM_ROTCLK_SHIFT |
|
||||||
is_lvds ? CSTM_LVDS_EN_ENABLE :
|
(is_lvds ? CSTM_LVDS_EN_ENABLE :
|
||||||
CSTM_LVDS_EN_DISABLE);
|
CSTM_LVDS_EN_DISABLE));
|
||||||
|
|
||||||
tegra_dc_sor_config_pwm(sor, 1024, 1024);
|
tegra_dc_sor_config_pwm(sor, 1024, 1024);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user