[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAfSe-t-to3=KrUH2cWQXy710H8Lr3Nd7Za1yoaxio4i70c51w@mail.gmail.com>
Date: Wed, 28 Jan 2015 18:46:53 +0800
From: Lyra Zhang <zhang.lyra@...il.com>
To: Baruch Siach <baruch@...s.co.il>
Cc: Chunyan Zhang <chunyan.zhang@...eadtrum.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
Mark Rutland <mark.rutland@....com>,
"gnomes@...rguk.ukuu.org.uk" <gnomes@...rguk.ukuu.org.uk>,
Heiko Stübner <heiko@...ech.de>,
"andrew@...n.ch" <andrew@...n.ch>,
"jslaby@...e.cz" <jslaby@...e.cz>,
"lanqing.liu@...eadtrum.com" <lanqing.liu@...eadtrum.com>,
Arnd Bergmann <arnd@...db.de>,
"zhizhou.zhang" <zhizhou.zhang@...eadtrum.com>,
"geng.ren@...eadtrum.com" <geng.ren@...eadtrum.com>,
"antonynpavlov@...il.com" <antonynpavlov@...il.com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
Grant Likely <grant.likely@...aro.org>,
Orson Zhai <orsonzhai@...il.com>,
"florian.vaussard@...l.ch" <florian.vaussard@...l.ch>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"jason@...edaemon.net" <jason@...edaemon.net>,
Pawel Moll <pawel.moll@....com>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
Hayato Suzuki <hytszk@...il.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
Wei Qiao (乔伟) <wei.qiao@...eadtrum.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Peter Hurley <peter@...leysoftware.com>,
"linux-api@...r.kernel.org" <linux-api@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Kumar Gala <galak@...eaurora.org>,
Shawn Guo <shawn.guo@...aro.org>
Subject: Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support
On Wed, Jan 28, 2015 at 5:54 PM, Baruch Siach <baruch@...s.co.il> wrote:
> Hi Lyra Zhang,
>
> On Wed, Jan 28, 2015 at 04:46:33PM +0800, Lyra Zhang wrote:
>> On Wed, Jan 28, 2015 at 2:12 PM, Baruch Siach <baruch@...s.co.il> wrote:
>> > On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote:
>> >> + if (uart_handle_sysrq_char(port, ch))
>> >> + continue;
>> >
>> > My comment[1] on a previous version of this patch still stands.
>> > uart_handle_sysrq_char is a NOP when SUPPORT_SYSRQ is not defined.
>>
>> yes, there are two definitions in serial_core.h, and it returns 0 when
>> SUPPORT_SYSRQ is not defined.
>> so, I think my code behavior does not hurt, right?
>
> Right. I just wanted to point out that you can easily define SUPPORT_SYSRQ as
> appropriate like many other serial drivers do to get sysrq support.
>
Ok, I got it. I'll add SUPPORT_SYSRQ definition, and send v10 to Greg.
thanks,
Chunyan
> baruch
>
> --
> http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch@...s.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists