]> www.infradead.org Git - users/willy/xarray.git/commit
media: rzg2l-cru: rzg2l-core: Use devm_pm_runtime_enable()
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Fri, 11 Apr 2025 17:05:35 +0000 (19:05 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Wed, 23 Apr 2025 08:55:53 +0000 (10:55 +0200)
commit2fc8cfe06e7628de825d53128fd38b3f0e19c989
tree4defeedf2bbe226ecbbb1f7ddf53ad26249511d2
parentaed5bbaec5346147b8580878a32809fdb1bf46c8
media: rzg2l-cru: rzg2l-core: Use devm_pm_runtime_enable()

Use newly added devm_pm_runtime_enable() into rzg2l_cru_probe() and
drop unnecessary pm_runtime_disable() from rzg2l_cru_probe() and
rzg2l_csi2_remove().

Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://lore.kernel.org/r/20250411170624.472257-8-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c