[PATCH] ASoC: rsnd: Emit useful error messages in .remove()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jul 6 08:42:49 CEST 2022


Hi Uwe

> The motivation of my patch is to make the remove function return 0 and
> the eventual goal is to make the remove callback return void.
> The difference today between returning 0 and returning an error is only
> that the core emits an error message in the error case. In both cases
> the device is removed. See drivers/base/platform.c:platform_remove().

Ah, OK.  Because of "remove" funciton.
Sorry, I was misunderstanding about it.

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list