From patchwork Fri Jun 29 11:07:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 140545 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp698393ljj; Fri, 29 Jun 2018 04:07:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdgpSIdNHMOTSBDMQxsShf+oU7ynk4qUBUcvPS6bY8N7VMmDL0U5yIPaOmLQqisI0D7lXVR X-Received: by 2002:a1c:f407:: with SMTP id z7-v6mr1369372wma.143.1530270452431; Fri, 29 Jun 2018 04:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530270452; cv=none; d=google.com; s=arc-20160816; b=hT2JVJoFhzEqnFz9dEdnn8X1MukfI4sPaxUMLIl282A4GsuioWJfYE4yapRIXF+eF0 WSS+1UEFh9y9BTF2tYbaavGkzDws8WSTjMCFIM7oBRNOsaBGL5x+Pk86OQzAyOnrwZLY mt1peg06j72Aaaz2RZrBqjnZH1DuE3j9QJEXGcnzGI+QB1RIKz+U+itOzFQGAwVudUhW zkqzCELTeU9/oGn6C5rQW07heJDO9Ggcy0VYC78FENv9QpNmBdbQusb+sq3ZgJTUgtf0 eLNqVcJHYxqlVphWtYcNwvDq0t6wIVSXehOL5Z88LzfSm1APLa0if6t5abNzMQMYJatD E9/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=oy+DFNsQMZa5aXLIOHm5wRdlj123MPD4AmEomYQLRUg=; b=V5Zq0Q9hFxzPBkgTzKTgVtczEFcqMi/FiqmsfZDuoCEYQhQ2h73aSlLWOV3aSkgiKc wNDa34agMKg0XRLyF5VCkaB5WTuT89xo/PwMn8dr+VbEkxykyGlv7SSHcc4f0pWDc2SK +iO1/24micJ8TTlWBMCjlpPLOkQC3Bn1W98DPPko6m2iCVaDfVP75OHge+un5iaXA1HB sjhild22wxqlwH42tPBSIeNv3aQy2QgHlVWEhp+lGOhPtuJ/FWkj8AqWLcWF3e4KoYrd 9GP0E3xZFyIwR9zpCetaarVyBW5iAgIF73k1tFJyHZOzbIgRNw8bxLH79Xm4Um7wCV1X F8aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=uekcPZ+M; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id s18-v6si1595432wrg.56.2018.06.29.04.07.32; Fri, 29 Jun 2018 04:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=uekcPZ+M; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E0E78267A3E; Fri, 29 Jun 2018 13:07:19 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E2DB0267A31; Fri, 29 Jun 2018 13:07:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 6C0F9267A2F for ; Fri, 29 Jun 2018 13:07:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=DLKDnGP6QZjBf4BZESOUu+KHdqFG9iDyaCu/On5SV8w=; b=uekcPZ+M0crJ abXjGxAohJhc5T2YZqJxld5aubDc0q/Z/cEm+xm/7XJe4O2ilkWIw29k9jCOAqkfJAci+nPEILOCF oLTujWcVgVcSh0YPKLGmMkp0BdnmScvJOaNJ5ETdT5ncDIqa4bEMf5vqEL6n0HGhgtsjlDqSbsjSe 8hCCI=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYrF9-0007km-Ns; Fri, 29 Jun 2018 11:07:11 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fYrF9-0002bO-AQ; Fri, 29 Jun 2018 12:07:11 +0100 From: Mark Brown To: Daniel Mack In-Reply-To: Message-Id: Date: Fri, 29 Jun 2018 12:07:11 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: pxa: provide PCM ops for ssp, i2s and ac97 components" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: pxa: provide PCM ops for ssp, i2s and ac97 components has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From d767d3ce5c48b3378e20e8cfd5d5379c4ca6001b Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 27 Jun 2018 21:33:57 +0200 Subject: [PATCH] ASoC: pxa: provide PCM ops for ssp, i2s and ac97 components Now that the functions are now available through pxa2xx-lib, hook them up to pxa-sspi, pxa-ac97 and pxa-i2s. This allows DT platforms to use the DAIs without a platform driver. Signed-off-by: Daniel Mack Signed-off-by: Mark Brown --- sound/soc/pxa/pxa-ssp.c | 3 +++ sound/soc/pxa/pxa2xx-ac97.c | 3 +++ sound/soc/pxa/pxa2xx-i2s.c | 3 +++ 3 files changed, 9 insertions(+) -- 2.18.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index c1f4af869289..01d54697ede4 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c @@ -841,6 +841,9 @@ static struct snd_soc_dai_driver pxa_ssp_dai = { static const struct snd_soc_component_driver pxa_ssp_component = { .name = "pxa-ssp", + .ops = &pxa2xx_pcm_ops, + .pcm_new = pxa2xx_soc_pcm_new, + .pcm_free = pxa2xx_pcm_free_dma_buffers, }; #ifdef CONFIG_OF diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index c52b33802bf2..9f779657bc86 100644 --- a/sound/soc/pxa/pxa2xx-ac97.c +++ b/sound/soc/pxa/pxa2xx-ac97.c @@ -214,6 +214,9 @@ static struct snd_soc_dai_driver pxa_ac97_dai_driver[] = { static const struct snd_soc_component_driver pxa_ac97_component = { .name = "pxa-ac97", + .ops = &pxa2xx_pcm_ops, + .pcm_new = pxa2xx_soc_pcm_new, + .pcm_free = pxa2xx_pcm_free_dma_buffers, }; #ifdef CONFIG_OF diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index e7184de0de04..42820121e5b9 100644 --- a/sound/soc/pxa/pxa2xx-i2s.c +++ b/sound/soc/pxa/pxa2xx-i2s.c @@ -364,6 +364,9 @@ static struct snd_soc_dai_driver pxa_i2s_dai = { static const struct snd_soc_component_driver pxa_i2s_component = { .name = "pxa-i2s", + .ops = &pxa2xx_pcm_ops, + .pcm_new = pxa2xx_soc_pcm_new, + .pcm_free = pxa2xx_pcm_free_dma_buffers, }; static int pxa2xx_i2s_drv_probe(struct platform_device *pdev)