i2cRead hangs

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



Hi,

I  am working on porting of btfg Linux device
driver for the Brooktree Bt848 family of video decoder
chips on Linux kernel 2.4.19. When we do a modprobe to
load the driver, there is a call in i2c.c "i2cRead"
which hangs. Nothing seems to be working after then.
Even ^C cannot help.  Folloiwng piece of code hangs
the system

/* wait for completion */
for ( x = 0x7fffffff; x; --x ) {   /* safety valve */
if ( bt848->int_stat & BT848_INT_I2CDONE )
   break;
}

Can anyone suggest how to debug this problem ??

Thanks,
Neelu.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux