LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] serial: 8250_dw: fix 'cts-override'
@ 2015-03-10 0:37 Dmitry Torokhov
2015-03-11 13:00 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2015-03-10 0:37 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Kevin Cernekee, JD (Jiandong) Zheng, Ray Jui, Desmond Liu,
linux-serial, linux-kernel
We are dealing with CTS, not DSR here (we dealt with DSR a few lines
above), so set appropriate bits.
Reported-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
---
drivers/tty/serial/8250/8250_dw.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
index 2ab229d..eb0a511 100644
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -355,9 +355,9 @@ static int dw8250_probe_of(struct uart_port *p,
}
if (of_property_read_bool(np, "cts-override")) {
- /* Always report DSR as active */
- data->msr_mask_on |= UART_MSR_DSR;
- data->msr_mask_off |= UART_MSR_DDSR;
+ /* Always report CTS as active */
+ data->msr_mask_on |= UART_MSR_CTS;
+ data->msr_mask_off |= UART_MSR_DCTS;
}
if (of_property_read_bool(np, "ri-override")) {
--
2.2.0.rc0.207.ga3a616c
--
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] serial: 8250_dw: fix 'cts-override'
2015-03-10 0:37 [PATCH] serial: 8250_dw: fix 'cts-override' Dmitry Torokhov
@ 2015-03-11 13:00 ` Greg Kroah-Hartman
2015-03-11 17:25 ` Dmitry Torokhov
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2015-03-11 13:00 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Kevin Cernekee, JD (Jiandong) Zheng, Ray Jui, Desmond Liu,
linux-serial, linux-kernel
On Mon, Mar 09, 2015 at 05:37:31PM -0700, Dmitry Torokhov wrote:
> We are dealing with CTS, not DSR here (we dealt with DSR a few lines
> above), so set appropriate bits.
>
> Reported-by: Kevin Cernekee <cernekee@chromium.org>
> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
> ---
> drivers/tty/serial/8250/8250_dw.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Should this go into 4.0-final, or can it wait for 4.1-rc1?
I'm guessing 4.0-final, but want to make sure.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] serial: 8250_dw: fix 'cts-override'
2015-03-11 13:00 ` Greg Kroah-Hartman
@ 2015-03-11 17:25 ` Dmitry Torokhov
2015-03-20 18:00 ` Dmitry Torokhov
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2015-03-11 17:25 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Dmitry Torokhov, Kevin Cernekee, JD (Jiandong) Zheng, Ray Jui,
Desmond Liu, linux-serial, linux-kernel
Hi Greg,
On Wed, Mar 11, 2015 at 6:00 AM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Mon, Mar 09, 2015 at 05:37:31PM -0700, Dmitry Torokhov wrote:
>> We are dealing with CTS, not DSR here (we dealt with DSR a few lines
>> above), so set appropriate bits.
>>
>> Reported-by: Kevin Cernekee <cernekee@chromium.org>
>> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
>> ---
>> drivers/tty/serial/8250/8250_dw.c | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> Should this go into 4.0-final, or can it wait for 4.1-rc1?
> I'm guessing 4.0-final, but want to make sure.
I'd like to have it in 4.0 but since there are no users of the feature
in mainline yet I think it can wait.
Thanks,
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] serial: 8250_dw: fix 'cts-override'
2015-03-11 17:25 ` Dmitry Torokhov
@ 2015-03-20 18:00 ` Dmitry Torokhov
2015-03-22 10:34 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2015-03-20 18:00 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Greg Kroah-Hartman, Kevin Cernekee, JD (Jiandong) Zheng, Ray Jui,
Desmond Liu, linux-serial, linux-kernel
Hi Greg,
On Wed, Mar 11, 2015 at 10:25 AM, Dmitry Torokhov <dtor@chromium.org> wrote:
> Hi Greg,
>
> On Wed, Mar 11, 2015 at 6:00 AM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
>> On Mon, Mar 09, 2015 at 05:37:31PM -0700, Dmitry Torokhov wrote:
>>> We are dealing with CTS, not DSR here (we dealt with DSR a few lines
>>> above), so set appropriate bits.
>>>
>>> Reported-by: Kevin Cernekee <cernekee@chromium.org>
>>> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
>>> ---
>>> drivers/tty/serial/8250/8250_dw.c | 6 +++---
>>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> Should this go into 4.0-final, or can it wait for 4.1-rc1?
>> I'm guessing 4.0-final, but want to make sure.
>
> I'd like to have it in 4.0 but since there are no users of the feature
> in mainline yet I think it can wait.
>
Could you please pick it for 4.1?
Thanks,
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] serial: 8250_dw: fix 'cts-override'
2015-03-20 18:00 ` Dmitry Torokhov
@ 2015-03-22 10:34 ` Greg Kroah-Hartman
0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2015-03-22 10:34 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Kevin Cernekee, JD (Jiandong) Zheng, Ray Jui, Desmond Liu,
linux-serial, linux-kernel
On Fri, Mar 20, 2015 at 11:00:43AM -0700, Dmitry Torokhov wrote:
> Hi Greg,
>
> On Wed, Mar 11, 2015 at 10:25 AM, Dmitry Torokhov <dtor@chromium.org> wrote:
> > Hi Greg,
> >
> > On Wed, Mar 11, 2015 at 6:00 AM, Greg Kroah-Hartman
> > <gregkh@linuxfoundation.org> wrote:
> >> On Mon, Mar 09, 2015 at 05:37:31PM -0700, Dmitry Torokhov wrote:
> >>> We are dealing with CTS, not DSR here (we dealt with DSR a few lines
> >>> above), so set appropriate bits.
> >>>
> >>> Reported-by: Kevin Cernekee <cernekee@chromium.org>
> >>> Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
> >>> ---
> >>> drivers/tty/serial/8250/8250_dw.c | 6 +++---
> >>> 1 file changed, 3 insertions(+), 3 deletions(-)
> >>
> >> Should this go into 4.0-final, or can it wait for 4.1-rc1?
> >> I'm guessing 4.0-final, but want to make sure.
> >
> > I'd like to have it in 4.0 but since there are no users of the feature
> > in mainline yet I think it can wait.
> >
>
> Could you please pick it for 4.1?
Will do, thanks.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-22 10:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-10 0:37 [PATCH] serial: 8250_dw: fix 'cts-override' Dmitry Torokhov
2015-03-11 13:00 ` Greg Kroah-Hartman
2015-03-11 17:25 ` Dmitry Torokhov
2015-03-20 18:00 ` Dmitry Torokhov
2015-03-22 10:34 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).