summaryrefslogtreecommitdiff
path: root/include/linux/tty_ldisc.h
diff options
context:
space:
mode:
authorguoyin.chen <guoyin.chen@freescale.com>2014-04-30 13:36:17 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2014-04-30 13:36:17 +0800
commite7fdbbc7236c7c884cac0ea1fa14bca3d0990c94 (patch)
treeeab0dc4733ecd4200655ad62f831623da88dd4d7 /include/linux/tty_ldisc.h
parentc4bb6b95be0a385d39fef45d577d5969c077feeb (diff)
parent8614fc820d62cc2c84eea8d2fdd3157805fdb1c5 (diff)
Merge remote-tracking branch 'fsl-linux-sdk/imx_3.10.31_1.1.0_alpha' into imx_3.10.y_androidkk4.4.2_2.0.0-alpha
Diffstat (limited to 'include/linux/tty_ldisc.h')
-rw-r--r--include/linux/tty_ldisc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h
index 58390c73df8b..84c9d8a96f48 100644
--- a/include/linux/tty_ldisc.h
+++ b/include/linux/tty_ldisc.h
@@ -91,7 +91,10 @@
* This function is called by the low-level tty driver to signal
* that line discpline should try to send more characters to the
* low-level driver for transmission. If the line discpline does
- * not have any more data to send, it can just return.
+ * not have any more data to send, it can just return. If the line
+ * discipline does have some data to send, please arise a tasklet
+ * or workqueue to do the real data transfer. Do not send data in
+ * this hook, it may leads to a deadlock.
*
* int (*hangup)(struct tty_struct *)
*