At Thu, 8 Aug 2002 11:49:36 -0400 (EDT),
Pavel Roskin wrote:
> 
> Hello!
> 
> I have noticed that some functions in ice1712.c return -EREMOTE.  "info 
> libc" describes this error so:
> 
>  - Macro: int EREMOTE
>      An attempt was made to NFS-mount a remote file system with a file
>      name that already specifies an NFS-mounted file.  (This is an
>      error on some operating systems, but we expect it to work properly
>      on the GNU system, making this error code impossible.)
> 
> My interpretation of the code is that there is an communication error on 
> the i2c bus.  That should be EIO:
 
or EREMOTEIO.  see below.

>  - Macro: int EIO
>      Input/output error; usually used for physical read or write errors.
> 
> Please somebody with write access replace EREMOTE with EIO in 
> alsa-kernel/i2c/cs8427.c and alsa-kernel/pci/ice1712.c.  There is also an 
> occurence of EREMOTEIO (undocumented) in alsa-kernel/i2c/i2c.c - please 
> replace it with EIO as well.

EREMOTEIO is acceptable in the case of i2c, since the device is
"remote" from the host.

but EIO is more generic, so i agree to change to this value.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to