[PATCH] sound: soc: stm: stm32_sai: Use dev_err_probe()

Krzysztof Kozlowski krzk at kernel.org
Thu Apr 3 23:12:59 PDT 2025


On 03/04/2025 09:41, shao.mingyin at zte.com.cn wrote:
> From: Zhang Enpei <zhang.enpei at zte.com.cn>
> 
> Replace the open-code with dev_err_probe() to simplify the code.
> 
> Signed-off-by: Zhang Enpei <zhang.enpei at zte.com.cn>
> Signed-off-by: Shao Mingyin <shao.mingyin at zte.com.cn>
> ---
The code was correct before 2cfe1ff22555 ("ASoC: stm32: sai: add
stm32mp25 support") and that commit broke it. Some explanation would be
useful instead of blindly generating patches.

Was it done on purpose like that in that commit? Or ST just sent
downstream commit to mainline without changing it?

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list