[alsa-devel] [PATCH] ASoC: Intel: Get correct usage_count value to load firmware

Fang, Yang A yang.a.fang at intel.com
Tue Jul 14 20:17:42 CEST 2015



> -----Original Message-----
> From: Mark Brown [mailto:broonie at kernel.org]
> Sent: Tuesday, July 14, 2015 11:16 AM
> To: Fang, Yang A
> Cc: lgirdwood at gmail.com; alsa-devel at alsa-project.org; Koul, Vinod; Nujella,
> Sathyanarayana; kevin.strasser at linux.intel.com; Sripathi, Srinivas;
> Sreeramalu, Shilpa; Mirche, Dinesh; stable at vger.kernel.org
> Subject: Re: [PATCH] ASoC: Intel: Get correct usage_count value to load
> firmware
> 
> On Tue, Jul 14, 2015 at 11:13:46AM -0700, yang.a.fang at intel.com wrote:
> 
> > +#ifdef PM_CONFIG
> > +#define GET_USAGE_COUNT(dev) (atomic_read(&dev-
> >power.usage_count))
> > +#else
> > +#define GET_USAGE_COUNT(dev) 1
> > +#endif
> 
> PM_CONFIG?
Sorry for the typo. Will fix that.


More information about the Alsa-devel mailing list