media: rp1: fe: Use ~0, not -1, when working with unsigned values
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Thu, 21 Sep 2023 13:03:07 +0000 (16:03 +0300)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:02 +0000 (11:35 +0000)
commitd8260ae9080b2221cfd69810f55c7eee25cb69b0
tree4c47ee7141e0316a65a5decd22856cf5959368b6
parente0ff320bca912ffcf3faf5c5aad5fe0cf01f8ee9
media: rp1: fe: Use ~0, not -1, when working with unsigned values

Use ~0, not -1, when working with unsigned values (-1 is not unsigned).

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/media/platform/raspberrypi/rp1_cfe/pisp_fe.c