]> git.ipfire.org Git - thirdparty/linux.git/commit
media: mali-c55: Fully reset the ISP configuration
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Mon, 19 Jan 2026 11:50:26 +0000 (12:50 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 24 Mar 2026 15:13:09 +0000 (16:13 +0100)
commit26ad493bea57efdccc32ffedbf731da2b7463b6c
tree9ecbe9c7ccaefbd042cf38c5ee8f1386989f5b47
parentd5c24b71da547fdb5bea51a69d62f9e2a609431d
media: mali-c55: Fully reset the ISP configuration

The Mali C55 driver uses an auto-suspend delay of 2000 milli-seconds.

As the delay is quite large, it is certainly possible that two
consecutive calls to enable_streams() do not go through a suspend of the
peripheral, meaning we cannot rely on POW register values for the ISP
configuration.

To prevent a streaming session to be initialized with settings from the
previous one, reset the full ISP configuration to know state disabling or
bypassing all the ISP blocks the driver supports.

Cc: stable@vger.kernel.org
Fixes: d5f281f3dd29 ("media: mali-c55: Add Mali-C55 ISP driver")
Reviewed-by: Daniel Scally <dan.scally@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-params.c