[alsa-devel] [PATCH v2 2/2] ASoC: cs43130: Fix unused compiler warnings for PM runtime

Daniel Baluta daniel.baluta at nxp.com
Mon Sep 4 17:46:29 CEST 2017


On Lu, 2017-09-04 at 15:44 +0100, Mark Brown wrote:
> On Mon, Sep 04, 2017 at 04:34:47PM +0200, Takashi Iwai wrote:
> > 
> > Daniel Baluta wrote:
> > 
> > > 
> > > Isn't it better to guard it with CONFIG_PM?
> > 
> > It's a matter of taste, and people seem prefer this option nowadays,
> > so I follow that style.
> The ifdefs are a complete pain every time someone decides they want to
> do something amusing with the configuration for PM or if people want to
> share things between the runtime and system suspend paths.

Fine by me. It's just that most of the time I've seen CONFIG_PM approach :).


More information about the Alsa-devel mailing list