From patchwork Mon May 6 09:58:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10930869 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91A2F1395 for ; Mon, 6 May 2019 09:59:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DCAD285E3 for ; Mon, 6 May 2019 09:59:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 719C328609; Mon, 6 May 2019 09:59:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 936E6285E5 for ; Mon, 6 May 2019 09:59:19 +0000 (UTC) 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 BEAB4182E; Mon, 6 May 2019 11:58:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BEAB4182E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1557136757; bh=d3j1jDqfjQh7DFdXqoJ7UOkvYXp8RBI7lpKMS7LKSC0=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=owxD6L4m6oezBABPycC8i0qa58m91juuIX6skaFEdtmXeRx+tKeZSdoq0mZ1xwWG7 BEFEMZ48PgLve0ORAPVqtmDkeiuYfpY3ds1rfeJYSYqVbwTl2uUZmLh1jAnpPWEMmG 3yzx+zTdhfNb/uielQ7b2egEjzl/nrxpax/WLqck= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3895CF89673; Mon, 6 May 2019 11:58:27 +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 A72ABF896E6; Mon, 6 May 2019 11:58:25 +0200 (CEST) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7776DF80C07 for ; Mon, 6 May 2019 11:58:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7776DF80C07 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="Pck2O9ce" Received: by mail-wm1-x344.google.com with SMTP id f2so9486587wmj.3 for ; Mon, 06 May 2019 02:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H9jEvZjc2+umi5MvYcNLZKb83bYswxMWT40Sgskk8a0=; b=Pck2O9ceC4Nncwi5pyCGV9hFb8Bp38Ivr0tb4n4clKpvOCdhipVZqz6sfOMHgMIIt+ CaSg7FiXYx8KXsbEOpBJhHo+qFlGyy0XC9TvLD2XxgUszj3wGI+lhWO0vbg9EGfFlSCq e7d4GkFiHDB++qk4/g9ypeiXgyaraNi+jNYFU9pli/VJMEb96gkLBEZobauv9okX8h38 cYpFKtxDv9S1umpDjAE6LxVaeEvyIl365uo3PbG4jq7z2X62Khc3jSE0ajixSrTx9GVC aWPAtWITMz5i0fDzcjULjoOzdn27FF66Jw4Xg5BCDkWJXfmJD9Ji/rJBCOF6q2pxHt7y L7Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H9jEvZjc2+umi5MvYcNLZKb83bYswxMWT40Sgskk8a0=; b=a784CENboCT90VNX9xks/yYIfdBEtiBf8snqbTUURHjGzbVzQo6CrEYpIA3iOKqg4G CMBIau9aSEhuTctuLah2k7LsFzGDSxX9HrPPp/4uGVx+c55Rt1ProPMNzuC6MdAVGiK/ CrX03+PAFCiMIlxgZeWdIe/tb9/KecvDsL2TqIXPR5bDDXbm9tv2s6JUADRrzjxa245F khclP5TE818OlBqp+O7UzJ0r5GQnNOWBBd+KjKGtVuxQzplDb12l/oExJKpmykwzaEdc inLRC7ysvbtalWz7gdps+9ShPzmwnUrr6Gpb06UljzxESEZoXHLHNAI3Oy8/SiI88MyN COPw== X-Gm-Message-State: APjAAAWP1kbme5BJJyLHtHkivYdWLBX0HDr8X6jiHdba2YGPHaaoCh2C lXrOXeRw3TLG/jTtdrZPHSlD1g== X-Google-Smtp-Source: APXvYqwibJMkjX4WpvOLZ+fmynsQiAFeWPLepic+Pu+LFXREzkXRg8kZCwEWJPVPmKqzBQGB3S3i+w== X-Received: by 2002:a1c:eb03:: with SMTP id j3mr16172394wmh.15.1557136702640; Mon, 06 May 2019 02:58:22 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c10sm23409791wrd.69.2019.05.06.02.58.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 02:58:21 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood Date: Mon, 6 May 2019 11:58:11 +0200 Message-Id: <20190506095815.24578-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: patchwork-bot+notify@kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH v2 0/4] ASoC: hdmi-codec: fixes and improvements 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" X-Virus-Scanned: ClamAV using ClamSMTP This patchset is a collection of fixes and improvement on the hdmi codec driver. It should be completely transparent for the current users of the codec. The most important change is removal the current_substream pointer which allows the codec to be used on codec-to-codec links. I plan to use this for the HDMI sound support of the Amlogic g12a SoC family. Changes since v1: * Drop already applied patches * Rebase patchset on sound/for-next Jerome Brunet (4): ASoC: hdmi-codec: remove function name debug traces ASoC: hdmi-codec: remove reference to the current substream ASoC: hdmi-codec: remove reference to the dai drivers in the private data ASoC: hdmi-codec: remove ops dependency on the dai id sound/soc/codecs/hdmi-codec.c | 188 ++++++++++++++++------------------ 1 file changed, 91 insertions(+), 97 deletions(-)