Re: [PATCH] net/irda/ircomm_tty.c: Use flip buffers to deliver data

From: Alan Cox
Date: Thu May 12 2011 - 07:17:21 EST


On Thu, 12 May 2011 16:34:40 +0530
Amit Virdi <amit.virdi@xxxxxx> wrote:

> use tty_insert_flip_string and tty_flip_buffer_push to deliver incoming data
> packets from the IrDA device instead of delivering the packets directly to the
> line discipline. Following later approach resulted in warning "Sleeping function
> called from invalid context".
>
> Signed-off-by: Amit Virdi <amit.virdi@xxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

--
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/