Re: [PATCH 2/4] mmc: sdhci-msm: fix dev reference leaked through of_qcom_ice_get
From: Krzysztof Kozlowski
Date: Fri Jan 17 2025 - 02:43:40 EST
On 16/01/2025 15:49, Tudor Ambarus wrote:
> The driver leaks the device reference taken with
> of_find_device_by_node(). Fix the leak by using devm_of_qcom_ice_get().
>
> Fixes: c7eed31e235c ("mmc: sdhci-msm: Switch to the new ICE API")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof