diff options
| author | Alain Volmat <alain.volmat@foss.st.com> | 2025-12-19 15:30:40 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-16 14:08:52 +0100 |
| commit | 8e3c7238481bb36485935151ce4ee0dc4cb72dca (patch) | |
| tree | 43b64f65bd630eed41f464bec68f73d024d9e650 /scripts | |
| parent | 8a71f1f8d91fb10d306857c0f198a940c1d22e06 (diff) | |
| download | linux-8e3c7238481bb36485935151ce4ee0dc4cb72dca.tar.gz linux-8e3c7238481bb36485935151ce4ee0dc4cb72dca.zip | |
media: stm32: dcmipp: bytecap: remove useless cmier variable
The struct dcmipp_bytecap_device embeds a cmier variable which is
actually only set once and then used in several places for interrupt
mask or interrupt enable/disable. Use the DCMIPP_CMIER_P0ALL
bitfield macro directly instead of using it through the cmier
variable.
There is also no need to mask again vcap->cmsr2 against enabled
interrupts bit since this has already been done when storing the
interrupt status into the cmsr2 variable.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
