[alsa-devel] [PATCH 12/14] i2c-parport: return proper error values from attach

Wolfram Sang wsa at the-dreams.de
Thu Apr 9 12:25:28 CEST 2015


> It doesn't really matter that the error codes are different, it matters
> that they are meaningful. As much as possible you should pass error
> codes from the lower layers. parport_claim_or_block() and
> i2c_bit_add_bus() return proper error codes so you should record and
> transmit them.

Oh, surely yes. I assumed they don't and this series is a first step to
fix this. Should have looked myself. Thanks for jumping in here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150409/bd3802a5/attachment.sig>


More information about the Alsa-devel mailing list