From patchwork Mon May 11 05:55:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 11539715 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DF79615E6 for ; Mon, 11 May 2020 05:56:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00F4220735 for ; Mon, 11 May 2020 05:56:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ASBygUkB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00F4220735 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 87CD2886; Mon, 11 May 2020 07:56:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 87CD2886 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1589176613; bh=fZ0PdpTkI4TjlxVBlz931EANJEEZlDcZwTkOB+wITOA=; h=Date:From:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=ASBygUkB+UzV/kqOLRrb8p3SGXZsmli29IZyA52I5IBs9SnVhSzPMfjBRmF62sR2K jx+ZDa+xGh457g6t1ToqR7xAoL5qB18tlTuTrKS4Tr9duxcxadUdCowZyS6TL62p3V 14KLhBrj5kDXtRPEDMS6HlrvJR+F0zgKZPCnFXTc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CDD94F8014C; Mon, 11 May 2020 07:56:06 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id CB0DCF80157; Mon, 11 May 2020 07:56:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AC_FROM_MANY_DOTS, SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by alsa1.perex.cz (Postfix) with ESMTP id 665B9F80107 for ; Mon, 11 May 2020 07:55:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 665B9F80107 Date: 11 May 2020 14:55:54 +0900 X-IronPort-AV: E=Sophos;i="5.73,378,1583161200"; d="scan'208";a="46743655" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 11 May 2020 14:55:54 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 055254196E5C; Mon, 11 May 2020 14:55:54 +0900 (JST) Message-ID: <875zd39frp.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 00/17] ASoC: cleanup DAI/Component activity User-Agent: Wanderlust/2.15.9 Emacs/25.2 Mule/6.0 To: Mark Brown MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Cc: Linux-ALSA X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi Mark This patch-set cleanups DAI/Component activity operation. I believe these works correctly, but maybe need some tests or deep review. [17/17] patch can be apply after [03/17] patch. Kuninori Morimoto (17): 1 ASoC: soc-dai: add snd_soc_dai_activity() 2 ASoC: use snd_soc_dai/component_activity() 3 ASoC: soc-dai: add snd_soc_component_activity() 4 ASoC: atomel: use snd_soc_dai/component_activity() 5 ASoC: bcm: use snd_soc_dai/component_activity() 6 ASoC: cirrus: use snd_soc_dai/component_activity() 7 ASoC: codecs: use snd_soc_dai/component_activity() 8 ASoC: fsl: use snd_soc_dai/component_activity() 9 ASoC: intel: use snd_soc_dai/component_activity() 10 ASoC: jz4740: use snd_soc_dai/component_activity() 11 ASoC: mediatek: use snd_soc_dai/component_activity() 12 ASoC: meson: use snd_soc_dai/component_activity() 13 ASoC: pxa: use snd_soc_dai/component_activity() 14 ASoC: ti: use snd_soc_dai/component_activity() 15 ASoC: uniphier: use snd_soc_dai/component_activity() 16 ASoC: cleanup dai / component active code 17 ASoC: soc-dai: add snd_soc_dai_stream_activity() include/sound/soc-component.h | 7 +--- include/sound/soc-dai.h | 5 ++- sound/soc/atmel/atmel_ssc_dai.c | 4 +-- sound/soc/bcm/bcm2835-i2s.c | 6 ++-- sound/soc/bcm/cygnus-ssp.c | 4 +-- sound/soc/cirrus/ep93xx-i2s.c | 4 +-- sound/soc/codecs/adav80x.c | 4 +-- sound/soc/codecs/arizona.c | 2 +- sound/soc/codecs/cs4271.c | 4 +-- sound/soc/codecs/madera.c | 2 +- sound/soc/codecs/max98090.c | 6 ++-- sound/soc/codecs/tlv320aic23.c | 2 +- sound/soc/codecs/tlv320dac33.c | 2 +- sound/soc/codecs/uda1380.c | 2 +- sound/soc/codecs/wl1273.c | 2 +- sound/soc/codecs/wm8711.c | 2 +- sound/soc/codecs/wm8753.c | 4 +-- sound/soc/dwc/dwc-i2s.c | 2 +- sound/soc/fsl/fsl_esai.c | 2 +- sound/soc/fsl/fsl_spdif.c | 4 +-- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 14 ++++---- sound/soc/jz4740/jz4740-i2s.c | 8 ++--- sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 8 ++--- sound/soc/meson/axg-tdm-interface.c | 2 +- sound/soc/pxa/pxa-ssp.c | 8 ++--- sound/soc/pxa/pxa2xx-i2s.c | 2 +- sound/soc/soc-compress.c | 4 +-- sound/soc/soc-core.c | 11 ++++--- sound/soc/soc-dai.c | 12 +++++++ sound/soc/soc-dapm.c | 8 ++--- sound/soc/soc-pcm.c | 34 ++++++++++---------- sound/soc/ti/davinci-mcasp.c | 2 +- sound/soc/ti/omap-dmic.c | 4 +-- sound/soc/ti/omap-mcbsp.c | 4 +-- sound/soc/ti/omap-mcpdm.c | 8 ++--- sound/soc/uniphier/aio-cpu.c | 4 +-- 36 files changed, 105 insertions(+), 98 deletions(-)