mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	akpm@linux-foundation.org, linux-mips@linux-mips.org,
	linux-kernel@vger.kernel.org, "Rafael J . Wysocki" <rjw@sisk.pl>,
	zhangfx@lemote.com, linux-laptop@vger.kernel.org,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: [PATCH v8 8/8] Loongson: YeeLoong: add input/hotkey driver
Date: Tue, 08 Dec 2009 14:52:11 +0800	[thread overview]
Message-ID: <1260255131.3315.25.camel@falcon.domain.org> (raw)
In-Reply-To: <20091207064857.GG21451@core.coreip.homeip.net>

Hi, Dmitry Torokhov

I plan to send another revision of this patchset, Can I get your
Acked-by: for this patch?

Thanks!
	Wu Zhangjin

On Sun, 2009-12-06 at 22:48 -0800, Dmitry Torokhov wrote:
> Hi Wu,
> 
> On Sun, Dec 06, 2009 at 03:01:48PM +0800, Wu Zhangjin wrote:
> > +
> > +#define EC_VER_LEN 64
> > +
> > +static int black_screen_handler(int status)
> > +{
> > +	char *p, ec_ver[EC_VER_LEN];
> > +
> > +	p = strstr(loongson_cmdline, "EC_VER=");
> > +	if (!p)
> > +		memset(ec_ver, 0, EC_VER_LEN);
> > +	else {
> > +		strncpy(ec_ver, p, EC_VER_LEN);
> > +		p = strstr(ec_ver, " ");
> > +		if (p)
> > +			*p = '\0';
> > +	}
> > +
> 
> Hmm, why do you copy and parse command lineinstead of using module
> param and also doing it just once?
> 
> > +	/* Seems EC(>=PQ1D26) does this job for us, we can not do it again,
> > +	 * otherwise, the brightness will not resume to the normal level! */
> > +	if (strncasecmp(ec_ver, "EC_VER=PQ1D26", 64) < 0)
> > +		yeeloong_lcd_vo_set(status);
> > +
> > +	return status;
> > +}
> 
> Thanks.
> 



  parent reply	other threads:[~2009-12-08  6:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-06  7:01 [PATCH v8 0/8] Loongson: YeeLoong: add platform drivers Wu Zhangjin
2009-12-06  7:01 ` [PATCH v8 1/8] MIPS: add subdirectory for platform extension drivers Wu Zhangjin
2009-12-06  7:01   ` [PATCH v8 2/8] Loongson: YeeLoong: add platform driver Wu Zhangjin
2009-12-06  7:01     ` [PATCH v8 3/8] Loongson: YeeLoong: add backlight driver Wu Zhangjin
2009-12-06  7:01       ` [PATCH v8 4/8] Loongson: YeeLoong: add battery driver Wu Zhangjin
2009-12-06  7:01         ` [PATCH v8 5/8] Loongson: YeeLoong: add hardware monitoring driver Wu Zhangjin
2009-12-06  7:01           ` [PATCH v8 6/8] Loongson: YeeLoong: add video output driver Wu Zhangjin
2009-12-06  7:01             ` [PATCH v8 7/8] Loongson: YeeLoong: add suspend support Wu Zhangjin
2009-12-06  7:01               ` [PATCH v8 8/8] Loongson: YeeLoong: add input/hotkey driver Wu Zhangjin
2009-12-07  6:48                 ` Dmitry Torokhov
2009-12-07  7:26                   ` Wu Zhangjin
2009-12-08  6:52                   ` Wu Zhangjin [this message]
2009-12-08  7:23                     ` Dmitry Torokhov
2009-12-08  7:34                       ` Wu Zhangjin
2009-12-06  8:47           ` [PATCH v8 5/8] Loongson: YeeLoong: add hardware monitoring driver Pavel Machek
2009-12-07  0:54             ` Wu Zhangjin
2009-12-07  8:04               ` Pavel Machek
2009-12-07  9:41                 ` Wu Zhangjin
2009-12-07  9:49                   ` Pavel Machek
2009-12-07 11:01                     ` Wu Zhangjin
2009-12-08  7:09                       ` Pavel Machek
2009-12-08  7:26                         ` Wu Zhangjin
2009-12-08  6:50                     ` Wu Zhangjin
2009-12-08  7:06                       ` Pavel Machek
2009-12-08  7:18                         ` Wu Zhangjin
2009-12-08  7:52       ` [PATCH v8 3/8] Loongson: YeeLoong: add backlight driver Wu Zhangjin
2009-12-08  7:37   ` [PATCH v8 1/8] MIPS: add subdirectory for platform extension drivers Wu Zhangjin

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=1260255131.3315.25.camel@falcon.domain.org \
    --to=wuzhangjin@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-laptop@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=pavel@ucw.cz \
    --cc=ralf@linux-mips.org \
    --cc=rjw@sisk.pl \
    --cc=sfr@canb.auug.org.au \
    --cc=zhangfx@lemote.com \
    /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

Powered by JetHome