From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH V1] mfd: tps65910: Add wakeup support Date: Fri, 20 Jan 2012 13:13:55 +0000 Message-ID: <20120120131355.GG18297@opensource.wolfsonmicro.com> References: <1327057770-6688-1-git-send-email-ldewangan@nvidia.com> <20120120125152.GE18297@opensource.wolfsonmicro.com> <4F196568.1080503@nvidia.com> <20120120130201.GF18297@opensource.wolfsonmicro.com> <4F19671E.7030003@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4F19671E.7030003-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laxman Dewangan Cc: "sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org" , "jedu-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org" , "lrg-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org" , "gg-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-tegra@vger.kernel.org On Fri, Jan 20, 2012 at 06:37:42PM +0530, Laxman Dewangan wrote: > On Friday 20 January 2012 06:32 PM, Mark Brown wrote: > >No, that's it - when you call those userspace will get control via sysfs > >for turning on and off the wakeup support. > So should I call them in driver by default without taking parameter > from platform data? That's the normal behaviour for drivers unless there's some specific reason for doing something different. The choice may well depend on the application software running on the system rather than the kernel.