[PATCH v1 2/6] pmdomain: rockchip: cleanup mutex handling in rockchip_pd_power

Heiko Stübner heiko at sntech.de
Tue Sep 10 11:23:02 PDT 2024


Am Dienstag, 10. September 2024, 19:57:11 CEST schrieb Sebastian Reichel:
> Use the cleanup infrastructure to handle the mutex, which
> slightly improve code readability for this function.
> 
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>

Reviewed-by: Heiko Stuebner <heiko at sntech.de>

I guess you could make the guard patch the 1st to not add and then
remove the mutex_unlock in the "forward errors" patch.





More information about the Linux-rockchip mailing list