[PATCH 3/6] media: staging: media: imx6-mipi-csi2: use devm_clk_bulk_get_all() to fetch clocks

Philipp Zabel p.zabel at pengutronix.de
Mon Nov 10 00:22:30 PST 2025


On Fr, 2025-11-07 at 15:44 -0500, Frank Li wrote:
> Use devm_clk_bulk_get_all_enabled() helper to simplify clock handling.
> 
> Defer all clock prepare and enable to csi2_start(), which previous only
> enable pix clock here.
> 
> Do that safely because there are not register access before csi2_start().

What about log_status()?

regards
Philipp



More information about the linux-arm-kernel mailing list