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

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Jul 6 17:32:30 CEST 2022


Hello,

On Wed, Jul 06, 2022 at 06:42:49AM +0000, Kuninori Morimoto wrote:
> > 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 !!

Is this an ack now? :-)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220706/4a026a2b/attachment.sig>


More information about the Alsa-devel mailing list