[PATCH v2 0/3] staging: media: atomisp: clean up ia_css_stream_destroy

From: Jose A. Perez de Azpillaga

Date: Thu Mar 26 2026 - 17:35:08 EST


This series fixes a loop shadowing bug and refactors the ISP2401 cleanup
logic inside ia_css_stream_destroy().

Changes in v2:
- Split the original patch into a 3-patch series as requested by
Dan Carpenter.
- Added a Fixes tag for the loop shadowing bug.
- Separated the extraction from the logical improvements.
- Added clarification that assert() is a wrapper around BUG().

Jose A. Perez de Azpillaga (3):
staging: media: atomisp: fix loop shadowing in ia_css_stream_destroy()
staging: media: atomisp: extract ISP2401 cleanup into helper function
staging: media: atomisp: improve ia_css_stream_destroy_isp2401

drivers/staging/media/atomisp/pci/sh_css.c | 79 ++++++++++------------
1 file changed, 37 insertions(+), 42 deletions(-)

--
2.53.0