mirror of https://gitee.com/openkylin/linux.git
staging: media: imx: remove parentheses
Remove unnecessary parentheses around a binary OR in file imx7-mipi-csis.c. Check reported by coccinelle. Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Link: https://lore.kernel.org/r/20200313215406.2485-4-kgupta@es.iitr.ac.in Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fde2876273
commit
c4546a359a
|
@ -404,7 +404,7 @@ static void mipi_csis_set_hsync_settle(struct csi_state *state, int hs_settle)
|
|||
{
|
||||
u32 val = mipi_csis_read(state, MIPI_CSIS_DPHYCTRL);
|
||||
|
||||
val = ((val & ~MIPI_CSIS_DPHYCTRL_HSS_MASK) | (hs_settle << 24));
|
||||
val = (val & ~MIPI_CSIS_DPHYCTRL_HSS_MASK) | (hs_settle << 24);
|
||||
|
||||
mipi_csis_write(state, MIPI_CSIS_DPHYCTRL, val);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue