From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341Ab2ATNOA (ORCPT ); Fri, 20 Jan 2012 08:14:00 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:34578 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808Ab2ATNN6 (ORCPT ); Fri, 20 Jan 2012 08:13:58 -0500 Date: Fri, 20 Jan 2012 13:13:55 +0000 From: Mark Brown To: Laxman Dewangan Cc: "sameo@linux.intel.com" , "jedu@slimlogic.co.uk" , "lrg@slimlogic.co.uk" , "gg@slimlogic.co.uk" , "linux-kernel@vger.kernel.org" , "linux-tegra@vger.kernel.org" Subject: Re: [PATCH V1] mfd: tps65910: Add wakeup support 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 Content-Disposition: inline In-Reply-To: <4F19671E.7030003@nvidia.com> X-Cookie: Your supervisor is thinking about you. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.