platform: fimc: fix bitwise negation of a boolean expression
authorAnan Jaser <ananjaser@gmail.com>
Tue, 22 Sep 2020 20:28:13 +0000 (00:28 +0400)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:06 +0000 (21:14 +0000)
commite7972af0f5fa29a96af96e8ac5affa4a3541afa0
treee349a72504db48255992057064f1763e2eccf4a8
parent617c53b4ea2bd5c157cc507fe9ff0bc257c36cc5
platform: fimc: fix bitwise negation of a boolean expression

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
drivers/media/platform/exynos/fimc-is2/sensor/flite/fimc-is-hw-flite-v4_20_0.h