| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH v5 8/8] Loongson: YeeLoong: add hotkey driver |
| From: | Wu Zhangjin <wuzhangjin@gmail.com> |
| Date: | Sun, 29 Nov 2009 15:40:41 +0800 |
| Cc: | Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-mips@linux-mips.org, zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, linux-input@vger.kernel.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=kW8iACDzR8UKNAiJ3K1TOSpfaX2B03sOLrkaR2eloqM=; b=LXruLCThrS2bfXL/Vj/9RfmSZfazmsoQvgwhSAqRxsa7t207AaI6FUvNj+W91/KRBH /+hW/yAPr8WVpqbFgYhMoaIedffeu8CIT5BmspZY1ggS4dGs4lvgfZYUHgZEP7qEbch1 Jc8b+lAiOFhMbf55YAo3P8TE8EiwpQW5TQKBw= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=ROTkwpOaNa/GgRLPi/WVaXoxHdbE4RDEbGBLN9BKabt0CYfH/0F0NDn9h0KhKlPuv8 IsJdjMq+obgFqbwzWd+WAXFJrrBhyLh+GG4sKovQIN7yqwq7+cOYoTJ3dDRcfRQEPd4A y5VAVTPFHZl0tsddempTT9DlXEHDRhoDjBXf8= |
| In-reply-to: | <20091129072948.GA15146@linux-mips.org> |
| Organization: | DSLab, Lanzhou University, China |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cover.1259414649.git.wuzhangjin@gmail.com> <739db9c7b5bab429d0df5a7c68f301aa12f1402d.1259414649.git.wuzhangjin@gmail.com> <20091129053527.GU6936@core.coreip.homeip.net> <1259473802.2577.6.camel@falcon.domain.org> <20091129072948.GA15146@linux-mips.org> |
| Reply-to: | wuzhangjin@gmail.com |
| Sender: | linux-mips-bounce@linux-mips.org |
On Sun, 2009-11-29 at 07:29 +0000, Ralf Baechle wrote:
> On Sun, Nov 29, 2009 at 01:50:02PM +0800, Wu Zhangjin wrote:
>
> > On Sat, 2009-11-28 at 21:35 -0800, Dmitry Torokhov wrote:
> > > On Sat, Nov 28, 2009 at 09:44:41PM +0800, Wu Zhangjin wrote:
> > > >
> > > > +config YEELOONG_HOTKEY
> > > > + tristate "Hotkey Driver"
> > > > + depends on YEELOONG_VO
> > > > + select INPUT
> > >
> > > I think this should be depend, not select.
> >
> > Hmm, okay, will replace it by depend later ;)
> >
> > >
> > > > + select INPUT_EVDEV
> > > > + select SUSPEND
> > >
> > > Does it break without SUSPEND?
> >
> > not break, but I just want to select something for users, so, they will
> > have no need to care about which extra option is needed.
>
> We use select extensively on MIPS but select is dangerous and you stepped
> into its trap. When SUSPEND is enabled by a user in
> kernel/power/Kconfig it can only be choosen if PM is enabled. By
> "select SUSPEND" this dependency so now it is possible to have a kernel
> where SUSPEND is enabled without PM which won't work.
>
Get it, thanks for your clarification ;)
Regards,
Wu Zhangjin
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v5 8/8] Loongson: YeeLoong: add hotkey driver, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH v5 7/8] Loongson: YeeLoong: add suspend driver, Pavel Machek |
| Previous by Thread: | Re: [PATCH v5 8/8] Loongson: YeeLoong: add hotkey driver, Ralf Baechle |
| Next by Thread: | Re: [PATCH v5 8/8] Loongson: YeeLoong: add hotkey driver, Wu Zhangjin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |