[PATCH] thermal: mediatek: Fix some leaks in mtk_thermal_probe
Miles Chen
miles.chen at mediatek.com
Mon Mar 7 21:36:25 PST 2022
Hi Miaoqian,
> If an error occurs after a successful 'of_iomap()' call, it must be undone
> by a corresponding 'iounmap()' call
>
> Fixes: 89945047b166 ("thermal: mediatek: Add tsensor support for V2 thermal system")
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
>
Thanks for fixing this.
Reviewed-by: Miles Chen <miles.chen at mediatek.com>
Thanks,
Miles
More information about the linux-arm-kernel
mailing list