]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: mali-c55: Fix Iridix bypass macros
authorDaniel Scally <dan.scally@ideasonboard.com>
Thu, 12 Feb 2026 11:03:09 +0000 (11:03 +0000)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 24 Mar 2026 15:13:09 +0000 (16:13 +0100)
commitdb7faf488ecf846c46884310ff1bf28daf2ad39a
tree640cb8cfcb8c1b36ac13c1b60d67764952793ff4
parent26ad493bea57efdccc32ffedbf731da2b7463b6c
media: mali-c55: Fix Iridix bypass macros

The Mali C55 Iridix block has a digital gain function and tone mapping
function, whose enablement is controlled by two different bits
in the BYPASS_3 register.

Unfortunately, the "Gain" and "Tonemap" bypass bit definitions are the
wrong way around. Swap them.

Cc: stable@vger.kernel.org
Fixes: d5f281f3dd29 ("media: mali-c55: Add Mali-C55 ISP driver")
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/arm/mali-c55/mali-c55-registers.h