2009-12-05, 18:32
csbook Wrote:I'm not actually getting the same driver errors that I sent before. Instead of getting the timeout returned from the driver, I now get a different timeout message from the xbmc code:
Try this;
Code:
while( (ioq->count == 0) && (count) ){
mpc_unlock_irq(&ioq->lock,flags);
bc_link_wait_on_event(&ioq->event, (ioq->count>0), 1000, rc, 0);
if (rc == 0) {
goto out;
} else if(rc == -EINTR) {
MPCLOG(MPCLOG_INFO,"Cancelling fetch wait\n");
*sig_pend = 1;
return tmp;
}
mpc_lock_irq(&ioq->lock,flags);
count--;
}
mpc_unlock_irq(&ioq->lock,flags);
out:
return bc_link_dioq_fetch(ioq);