]> git.karo-electronics.de Git - linux-beck.git/commit
net/irda/ircomm_tty.c: Use flip buffers to deliver data
authorAmit Virdi <amit.virdi@st.com>
Thu, 12 May 2011 01:04:40 +0000 (01:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 22:02:51 +0000 (18:02 -0400)
commitcbfd1526f6076ece92b4e2dcc0a2f1e89041b3bd
tree7ef52c4cefbc4c47720ba5f0e3ce6cdf900f7e49
parent7f267051bd7a280265b1b5ead58e9c6e4e1ac3a4
net/irda/ircomm_tty.c: Use flip buffers to deliver data

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@st.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_tty.c