mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
tty: some ICANON magic is in the wrong places
Move the set up on ldisc change into the ldisc Move the INQ/OUTQ cases into the driver not in shared ioctl code where it gives bogus answers for other ldisc values Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fe6e29fdb1
commit
47afa7a5a8
5 changed files with 56 additions and 45 deletions
|
|
@ -466,7 +466,7 @@ static inline void tty_audit_push_task(struct task_struct *tsk,
|
|||
#endif
|
||||
|
||||
/* tty_ioctl.c */
|
||||
extern int n_tty_ioctl(struct tty_struct *tty, struct file *file,
|
||||
extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
|
||||
/* serial.c */
|
||||
|
|
|
|||
Loading…
Reference in a new issue