Re: [PATCH] soundwire: amd: Improve error message in remove callback

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

 



On 18-05-23, 22:08, Uwe Kleine-König wrote:
> Returning an error code in the remove callback yields to an error
> message
> 
> 	remove callback returned a non-zero value. This will be ignored.
> 
> After that the device is removed anyhow. Improve the error message to at
> least say what the actual problem is. While touching that code, convert
> the driver to the .remove_new() callback which returns no value with the
> same effect as returning zero in a .remove() callback.
> 
> As the return value is ignored by the core the only effect of this patch
> is to improve the error message. (And the motivating effect is that
> there is one less driver using .remove().)

Applied, thanks

-- 
~Vinod



[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