Re: [PATCH v2] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-23 Thread Alan Cox
On Fri, 23 Nov 2012 03:02:56 +0400 Ilya Zykov wrote: > Regression 'tty: fix "IRQ45: nobody cared"' > Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 > > Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). > At the time of request we can have full buffers and

[PATCH v2] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-22 Thread Ilya Zykov
Regression 'tty: fix "IRQ45: nobody cared"' Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrottle driver, we can get

[PATCH v2] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-22 Thread Ilya Zykov
Regression 'tty: fix "IRQ45: nobody cared"' Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrottle driver, we can get