[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110328025313.GF12596@qtel.sh.intel.com>
Date: Mon, 28 Mar 2011 10:53:13 +0800
From: Lu Guanqun <guanqun.lu@...el.com>
To: Arjan van de Ven <arjan@...ux.intel.com>,
Jeff Cheng <jeff_cheng@...tron.com>
Cc: "meego-kernel@...ts.meego.com" <meego-kernel@...ts.meego.com>,
"alan@...ux.intel.com" <alan@...ux.intel.com>,
"Wu, Fengguang" <fengguang.wu@...el.com>,
"Tang, Feng" <feng.tang@...el.com>,
"Fu, Michael" <michael.fu@...el.com>,
"Wang, Xingchao" <xingchao.wang@...el.com>,
"Koul, Vinod" <vinod.koul@...el.com>,
"Kp, Jeeja" <jeeja.kp@...el.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
"Babu, Ramesh" <ramesh.babu@...el.com>,
"R, Dharageswari" <dharageswari.r@...el.com>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v9 2/2] sst: internal speaker needs setting a GPIO line
On Mon, Mar 28, 2011 at 10:35:36AM +0800, Arjan van de Ven wrote:
> On 3/27/2011 7:29 PM, Lu Guanqun wrote:
> >
> > pr_debug("sst: powering dn nc_power_down ....\n");
> >
> > + if (snd_pmic_ops_nc.output_dev_id == MONO_EARPIECE ||
> > + snd_pmic_ops_nc.output_dev_id == INTERNAL_SPKR) {
> > + msleep(30);
> > + nc_set_amp_power(0);
> > + }
> > msleep(30);
>
> this double msleep sounds rather harsh... why do we need two of these ?
> (heck... why do we need ONE ?)
>
This is legacy code from Jeff Cheng's patch.
Jeff, could you provide some information on this line?
--
guanqun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists