[alsa-devel] [PATCH] sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

Nicolin Chen nicoleotsuka at gmail.com
Sat Dec 6 10:50:46 CET 2014


On Sat, Dec 06, 2014 at 03:46:27AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> 
> After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
> selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
> depending on CONFIG_PM_RUNTIME may now be changed to depend on
> CONFIG_PM.
> 
> Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under sound/.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> ---
> 
> Note: This depends on commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if
> PM_SLEEP is selected) which is only in linux-next at the moment (via the
> linux-pm tree).
> 
> Please let me know if it is OK to take this one into linux-pm.
> 
> ---
>  sound/pci/hda/hda_controller.c |    2 +-
>  sound/pci/hda/hda_intel.c      |    5 +----
>  sound/soc/codecs/cs35l32.c     |    2 +-
>  sound/soc/codecs/cs42xx8.c     |    2 +-
>  sound/soc/codecs/max98090.c    |    2 +-
>  sound/soc/codecs/pcm512x.c     |    2 +-
>  sound/soc/codecs/tas2552.c     |    4 ++--
>  sound/soc/codecs/wm2200.c      |    2 +-
>  sound/soc/codecs/wm5100.c      |    2 +-
>  sound/soc/codecs/wm8962.c      |    2 +-
>  sound/soc/fsl/fsl_asrc.c       |    4 ++--
>  sound/soc/samsung/i2s.c        |    4 ++--
>  12 files changed, 15 insertions(+), 18 deletions(-)

For cs42xx8.c and fsl_asrc.c

Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>

Thank you
Nic


More information about the Alsa-devel mailing list