Re: [PATCH v4 08/11] tty: add pruss SUART driver

From: Subhasish Ghosh
Date: Mon May 09 2011 - 09:50:16 EST


I then modified this function to as follows and the error is not observed
anymore.

That looks like you are somehow calling uart_carrier_raised somewhere
with interrupts disabled ?

I am not calling this function in my driver atall, this is getting called by tty_port.c

int tty_port_block_til_ready(struct tty_port *port,
struct tty_struct *tty, struct file *filp)
{
/* Probe the carrier. For devices with no carrier detect this
will always return true */
cd = tty_port_carrier_raised(port);
if (!(port->flags & ASYNC_CLOSING) &&
(do_clocal || cd))
break;
if (signal_pending(current)) {
retval = -ERESTARTSYS;
break;
}



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/