Skip to content

Fix filter mode register issue

Rui Wang linux-arm-kernel linux-media linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1media: rkisp1: Fix filter mode register configurationdrivers/media/platform/rockchip/rkisp1/rkisp1-params.c+0 -62 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchStefan KlugKieran Bingham
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/1] Fix filter mode register issue

Hi,

This series contains a single patch that fixes an issue in the rkisp1 filter mode configuration logic.

The rkisp1_flt_config() function performs a direct write to the FILT_MODE register before the read/modify/write update. This write does not include the RKISP1_CIF_ISP_FLT_ENA bit, which clears the enable bit in hardware. After that, the read/modify/write sequence cannot restore the original enable state, causing the filter to be disabled unintentionally.

The patch removes the redundant direct write. The remaining read/modify/write sequence correctly updates the mode fields while preserving the existing enable bit.

Please review.

Thanks,
Rui Wang

Rui Wang (1):
media: rkisp1: Fix filter mode register configuration

 drivers/media/platform/rockchip/rkisp1/rkisp1-params.c | 6 ------
 1 file changed, 6 deletions(-)
Signature · 1 line
2.43.0