From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolin Chen Subject: Re: [PATCH] sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM Date: Sat, 6 Dec 2014 01:50:46 -0800 Message-ID: <20141206095045.GA2624@Asurada> References: <2064254.7lXiTpmK64@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by alsa0.perex.cz (Postfix) with ESMTP id DCE21260621 for ; Sat, 6 Dec 2014 10:51:01 +0100 (CET) Received: by mail-pd0-f179.google.com with SMTP id fp1so1878561pdb.24 for ; Sat, 06 Dec 2014 01:51:00 -0800 (PST) Content-Disposition: inline In-Reply-To: <2064254.7lXiTpmK64@vostro.rjw.lan> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "Rafael J. Wysocki" Cc: Brian Austin , alsa-devel@alsa-project.org, Kukjin Kim , Timur Tabi , Linux PM list , Takashi Iwai , Xiubo Li , Liam Girdwood , Paul Handrigan , Mark Brown , Ben Dooks , Linux Kernel Mailing List List-Id: alsa-devel@alsa-project.org On Sat, Dec 06, 2014 at 03:46:27AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > 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 > --- > > 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 Thank you Nic From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752088AbaLFJvE (ORCPT ); Sat, 6 Dec 2014 04:51:04 -0500 Received: from mail-pd0-f172.google.com ([209.85.192.172]:48340 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbaLFJvA (ORCPT ); Sat, 6 Dec 2014 04:51:00 -0500 Date: Sat, 6 Dec 2014 01:50:46 -0800 From: Nicolin Chen To: "Rafael J. Wysocki" Cc: Takashi Iwai , alsa-devel@alsa-project.org, Jaroslav Kysela , Brian Austin , Paul Handrigan , Liam Girdwood , Mark Brown , Timur Tabi , Xiubo Li , Ben Dooks , Kukjin Kim , Linux Kernel Mailing List , Linux PM list Subject: Re: [PATCH] sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM Message-ID: <20141206095045.GA2624@Asurada> References: <2064254.7lXiTpmK64@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2064254.7lXiTpmK64@vostro.rjw.lan> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 06, 2014 at 03:46:27AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > 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 > --- > > 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 Thank you Nic