From: Rickard Andersson <rickard.andersson@stericsson.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
Linus WALLEIJ <linus.walleij@stericsson.com>,
"alan@linux.intel.com" <alan@linux.intel.com>,
"daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>
Subject: Re: [PATCH v2] TTY: serial, add pm function
Date: Thu, 17 Jan 2013 11:10:54 +0100 [thread overview]
Message-ID: <50F7CE2E.1030000@stericsson.com> (raw)
In-Reply-To: <20130117023214.GB20928@kroah.com>
On 01/17/2013 03:32 AM, Greg KH wrote:
> On Thu, Jan 17, 2013 at 01:36:48AM +0100, Linus Walleij wrote:
>> On Wed, Jan 16, 2013 at 4:24 PM, Greg KH<gregkh@linuxfoundation.org> wrote:
>>> On Wed, Jan 16, 2013 at 09:33:09AM +0100, Rickard Andersson wrote:
>>>> The bluetooth cg2900 driver is on its way towards "staging".
>>> Really? I've never heard of it before, nor seen it, so how would I know
>>> this?
>> It's been posted twice, here is the last time:
>> http://marc.info/?l=linux-kernel&m=134873373526049&w=2
>>
>> You commented several times on it, but I know a lot of code
>> pass by your console.
> Heh, that's funny, I don't remember that at all, I think I now
> officially have no long-term memory about patches I review :)
>
>>> And we really never want to change core kernel code for staging
>>> drivers, it's one of the requirements of staging code.
>> Hm OK but it's a quite straight-forward thing for anything
>> connected on a UART in an embedded system that is not just a
>> serial cable or something and wants to save power.
>>
>> Maybe we can augment some other driver for something sitting
>> on a uart as a proof-of-concept then.
> You know we don't add infrastructure if there is no in-kernel user, and
> some random patch that was sent months ago doesn't really count as a
> "user" given that it's not even being submitted here, and it wasn't
> referenced in the patch itself that added the api.
>
> Also, why does this driver need something that the hundreds of other
> serial drivers we have in-kernel today do not? What makes it special
> over everything else?
>
> thanks,
>
> greg "I will not remember writing this email" k-h
Previously we have used a hack where baud rate was set to 0 using
set_termios and when the baudrate was 0 clock was turned off to save
current by the amba-pl011 driver. Now I try to do it in a cleaner way.
An old discussion can be found here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-November/031111.html
next prev parent reply other threads:[~2013-01-17 10:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 12:40 [PATCH v2] TTY: serial, add pm function Rickard Andersson
2013-01-16 7:05 ` Greg KH
2013-01-16 7:53 ` Rickard Andersson
2013-01-16 7:58 ` Greg KH
2013-01-16 8:33 ` Rickard Andersson
2013-01-16 15:24 ` Greg KH
2013-01-17 0:36 ` Linus Walleij
2013-01-17 2:32 ` Greg KH
2013-01-17 10:10 ` Rickard Andersson [this message]
2013-01-17 13:16 ` Alan Cox
2013-01-18 12:43 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F7CE2E.1030000@stericsson.com \
--to=rickard.andersson@stericsson.com \
--cc=alan@linux.intel.com \
--cc=daniel.lezcano@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).