Message ID | cover.1745247209.git.christophe.jaillet@wanadoo.fr |
---|---|
Headers | show |
Series | mfd: exynos-lpass: Fix some error handling paths | expand |
On 21/04/2025 17:00, Christophe JAILLET wrote: > If devm_of_platform_populate() fails, some clean-up needs to be done, as > already done in the remove function. > > Add a new devm_add_action_or_reset() to fix the leak in the probe and > remove the need of a remove function. > > Fixes: c695abab2429 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > Compile tested only. > > Changes in v2: > - Use a new devm_add_action_or_reset() to fix the leak in the probe > and remove the need of a remove function. > - Update the commit description accordingly Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof