drivers/media/platform/exynos/fimc-is2/sensor/flite/fimc-is-hw-flite-v4_20_0.c:28:9: error: bitwise negation of a boolean expression; did you m
ean logical negation? [-Werror,-Wbool-operation]
cfg |= FLITE_REG_BINNINGON_CLKGATE_ON(enable);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/exynos/fimc-is2/sensor/flite/fimc-is-hw-flite-v4_20_0.h:112:45: note: expanded from macro 'FLITE_REG_BINNINGON_CLKGATE_O
N'
Change-Id: I3974e42c46d235cae0ad4cfdd5d4cc0af7e7fafe
/* BNS */
#define FLITE_REG_BINNINGON (0x120)
-#define FLITE_REG_BINNINGON_CLKGATE_ON(x) (~(x) << 1)
+#define FLITE_REG_BINNINGON_CLKGATE_ON(x) (!(x) << 1)
#define FLITE_REG_BINNINGON_EN(x) ((x) << 0)
#define FLITE_REG_BINNINGCTRL (0x124)