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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/ |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux