Hi,
I have an audio device driver installed on my Cirrus Logic EP-7212
evaluation board.
My application program tries to write to the device driver,
but returns with an error. errno is set to EBADF in this case.
I found out further that this is becasue of the f_mode bit in the
'file' structure. it returns a value of 1 which indicates that there
are no read/wrte permissions.
I have set the device driver's permission as 664. Even setting them
to 777 does not help.
The application program and the device driver's UID and GID are
ientical, i.e. 0:0.
Could someone tell me how to tackle this?
Thanks.
Umesh Puranik
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++