[alsa-devel] [PATCH] ASoC: core - make IO calls return a valid errno on failure.

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Jul 25 23:22:14 CEST 2011


On Mon, Jul 25, 2011 at 11:15:59AM +0100, Liam Girdwood wrote:
> IO call failures should return an errno instead of -1

Yeah, it really should but it's kind of tricky for the reads as we're
returning errors in band and we could have 32 bit registers (I'm
guessing the platform versions already do) so we lose.  :/  Not sure
what the best thing to do there is, changing to return the errors out of
band for reads is more painful than I care to contemplate.


More information about the Alsa-devel mailing list