From patchwork Thu Jun 13 11:42:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 166606 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp649553ilk; Thu, 13 Jun 2019 04:44:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVUDoibEXdpu6ml1x92OQTfV+A8pNpQwnFpvlgExwlo+y2pnJuezW4WwPrh2M9ZFxcvdLq X-Received: by 2002:a1c:1947:: with SMTP id 68mr3293920wmz.165.1560426272437; Thu, 13 Jun 2019 04:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560426272; cv=none; d=google.com; s=arc-20160816; b=j/a6tbUpolUZoMWwFrvvShIxbxaILYOjzgqqVR7Roje0hHCO2Qoy2fKSKhS4lQw+vc RQj5AR7luUbeDCvLEseiImMxD/kTDIiFV3nyTZE+tgRokD1D+cY1gMxDhBZDnDEJ0gzE yP/3vex3EfofRz/qnDa6I7gmUFEw86QbAMTzPl5uy2DApt/8JTL1WY46GKo1fUvktAig vA2kmaQnIP+ebiVZ47EM2CuNvot7UchTmGvgMxFMOiDzzVwOOIW/0GavyWMWOYoWMRrz wJLzj1jij0qpsjkF5RMJZoUHVcoYsWCqTkD7/pzSn1dGKe6R8lryFtPjtcvBjySIgJR4 eZZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=tpqjv0v5DRcN83pZJBNtLwFQiCiokG1SvMd2dM24jlo=; b=YGT6z8J3vJv19W8B4m+ycNjHPyvTnwAXkmltrQ0pciIh7hxKhE9ckqoBcr5CLpnuoZ NGAQV+gP/QOgYhjM+f8iAtFya9VPNUL3sZqOzrF+oRT6OwO+Pnu7gAcVKZ864/nn0fBj kFZo1fajMVR8PFydic0xF01J07L3TqFdupyTHBmLGUHomDbQc4l72viSCuFfMM6oiAbD u8jxElf5yKyDz4nuiBNBI8XevFpYr/S8hIFT7NjCVNw9vJONf8hNNSBCMQfq8PYbqP7e oYu8dA4rsUrI4y4L63gvTbUuMbTskjkzi+h4e5ad55Lax6EnNprUqK0H+x4/pK9vzo7v 1eIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=gr9GkGho; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=t8gsBpvV; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id p20si2403544wrg.310.2019.06.13.04.44.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 04:44: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=pass header.i=@alsa-project.org header.s=default header.b=gr9GkGho; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=t8gsBpvV; 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 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 8859E1818; Thu, 13 Jun 2019 13:43:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8859E1818 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1560426271; bh=8oWDzZPpwqLhHNAgQdAIlIR76Um90XhYW9GR/uG27GM=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gr9GkGhokmNwA0WlBDPpWtdTzo1v74R/jdm873tAXmHPf9Kj1eZAZQlhj2rtSat+d SlNM2fFfa+I3expLtainHeQ31Wwaea6W9SBH6GZoRRRDgsWKDejeZNkPbVzn0Ys9Vm YsLWupciBlU8WQvpmH78ZH1O2b/Ribpjj7s2gXrA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 323CBF80791; Thu, 13 Jun 2019 13:42:47 +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 8F13DF896F1; Thu, 13 Jun 2019 13:42:43 +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=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 BE138F80791 for ; Thu, 13 Jun 2019 13:42:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BE138F80791 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="t8gsBpvV" Received: by mail-wm1-x341.google.com with SMTP id u8so9778899wmm.1 for ; Thu, 13 Jun 2019 04:42:40 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ct4dk4GNCZZpVBLlWG9IpyH3sVkXJaOUvUrsuvrJN7k=; b=t8gsBpvVYiQYc5Cn+QwlQpiY7tEcHBk2PiEx7Mm99YPiqUHhaR1qhC0wYPkrGD4SHH AeMv6d+++LORjfxG0hocO0hAVvVWjfgFXU7DUebAhDowZP5pxIZyokfKWuCJzU8ptVhs QTgFlBriQSaGZrLhOrDLhAUzOUWa2IZ20zuUZUL7kLXsMMqv8CincQItL92lCi5QYDLp yO8rK8tCPUVh0fCCcPIWZsvG5XWSoviGFdcRgDhPtSwdgQT738Uv3cgVBbCBZVsW2SCz ENsPDyh/zm4wAkf0I4yvwFPYHgBcqLTLWSYk/hhtUFHz1WUfsbUpGdYYMdpUXFx89UY4 6JIQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ct4dk4GNCZZpVBLlWG9IpyH3sVkXJaOUvUrsuvrJN7k=; b=tFrtmw5nU1n9elA8jDdnWYz0Jt18Wb0uj9rWH0A0NTo2uuOw1NqTOWB3K8ThviVFKM QfUfHZKusWhXgj1Q9nwSr8oSl5zWO0012OmgyX0wbnkHl3FzBl9H2Vw1J4EcmPR/z/gF Yw+RkGn703oFaUjJs/mXHbSwM/7jK4EtaM4IQ/+fpiqmze04Yk4rXq9Wqw+6DQiwgB5I b8hucBw5NagaYhTsgcVFPFA0btfeO+TMfBksvkN+gWLdZKW0EdzMM8vjY2I9GMXlvGrr AniaVJnptdTSqQnZrucQ9yzgaTV0UEDcbT+CxeWiwdI/DQtov9ZWXTbRhFw4LdjDXBdp 74sw== X-Gm-Message-State: APjAAAUku5QFEjQvB8wj1pzQYt1GGzWnjRz/XZf0IWP81iIi0HH0opAN J2tv93mSwaQZP8uGihffDZtiNQ== X-Received: by 2002:a05:600c:254b:: with SMTP id e11mr3135082wma.171.1560426159921; Thu, 13 Jun 2019 04:42:39 -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 b5sm2598490wru.69.2019.06.13.04.42.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 04:42:39 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman Date: Thu, 13 Jun 2019 13:42:30 +0200 Message-Id: <20190613114233.21130-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613114233.21130-1-jbrunet@baylibre.com> References: <20190613114233.21130-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 1/4] ASoC: meson: axg-tdmin: right_j is not supported 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" Right justified format is actually not supported by the amlogic tdm input decoder. Fixes: 13a22e6a98f8 ("ASoC: meson: add tdm input driver") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdmin.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/meson/axg-tdmin.c b/sound/soc/meson/axg-tdmin.c index a790f925a4ef..cb87f17f3e95 100644 --- a/sound/soc/meson/axg-tdmin.c +++ b/sound/soc/meson/axg-tdmin.c @@ -121,7 +121,6 @@ static int axg_tdmin_prepare(struct regmap *map, break; case SND_SOC_DAIFMT_LEFT_J: - case SND_SOC_DAIFMT_RIGHT_J: case SND_SOC_DAIFMT_DSP_B: break; From patchwork Thu Jun 13 11:42:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 166607 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp650194ilk; Thu, 13 Jun 2019 04:45:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqyciEKl8jD3p1PuUZ2x027E2ccpWhtp0TOqiPq0TmAycP8D/YzzIWg209wR/dYV0Ep4zmrZ X-Received: by 2002:adf:8b83:: with SMTP id o3mr55739888wra.278.1560426318599; Thu, 13 Jun 2019 04:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560426318; cv=none; d=google.com; s=arc-20160816; b=B3gTTXKf0Zkpnm0A5ryuqTAGMNyVrUI+3YK9JjfJ9oQyG87FPr5jM6FLybQPs2lVKL 3TOPVBHwgmGUEyJv9HqznV2WCJvEzoXftL+BnnXGWKnQ0JNmIyOhJp8RHPwqg0ildMfc uxJFDvi95/vcn9ZF99Z+J0MHFVimmNG1C0Jc5vkLE197dvkjPKtIJP1lDF/wb6S3Kfux Z1YsDajkvKYf7IPkFn8vc6P2BgtX12kcWSwKHqewZjdHFjD5NK/LWwVEpm4kFGAPI80i uUR8s+eTdMiSVqFeSohzJRhsO4XRoshtf5oU/u7EVxSxNgM2KuWCnjtaHVrH7Oa3hjti Fpow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=S8P15QvVso5UurygRad2hPyaIqABlIWyV6HPlLECW7s=; b=BlZj0iij4ZXKvY8T+fiiNc2YWR6GoH41V6DtE0FjWbe7OwSN1+/WDYM9oQIwvNNIuv Rojt/MXL/s9hdexQvlvoQCL1qwk4zkyh0W368S5NBwgiWAZnS+Gdd6CoG8mtJZm1PrD8 xQHzwUSXI6dtvEHqwwDUW3O42uNHrF4DqaQFziumWZ0lLnWdj3SvV5smEpQbqyZ7unRJ DutQY1FIpK1nAeWOrVLYDjcK1G55QU9DmXjmo2EWi36h+c1JQF8jJHjN3lPat5lQVMlP 97+e29kd0zFzw3QoKzI5RaEed9BZDWDqFMMcFpmdszSd5tQxt0g6Yi8/kEn81xUqaDQe NG0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=Q8sGcQ+9; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=aIGGQGLj; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id s8si2565480wrf.215.2019.06.13.04.45.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 04:45:18 -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=pass header.i=@alsa-project.org header.s=default header.b=Q8sGcQ+9; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=aIGGQGLj; 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 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 AFB8C1823; Thu, 13 Jun 2019 13:44:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AFB8C1823 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1560426317; bh=JsIqOkJnOwElWgA2p/GLjh8jvLIQcSguXp+CkrCskAo=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Q8sGcQ+9mEt9uNQ5KqqhXLGWnZOwnMGa5/dwSQOyAVRxWcgFQWUwgJr29SMPWzLoS eff2NKG/fquWMTh8bJfMSZBJteaXYZ9E7pzLdYM9kIWUAKOvr8OfJZeptyWEPdWJnt rflk8F1+/wJoGHVmVFQ6rhnQocagRxOnX5zNjJdw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2E5DFF89731; Thu, 13 Jun 2019 13:42:48 +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 B5075F89711; Thu, 13 Jun 2019 13:42:44 +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=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (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 DF4C6F89703 for ; Thu, 13 Jun 2019 13:42:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DF4C6F89703 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="aIGGQGLj" Received: by mail-wm1-x342.google.com with SMTP id u8so9778963wmm.1 for ; Thu, 13 Jun 2019 04:42:41 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=wxfr2UqrJP7k7q7uBFspyYkIYB+P3tVp1PAw4xsHiNQ=; b=aIGGQGLj/J0XH6peWf/aEST4UK1CqwMrpUkQjobNWMtvBILe/l8TNhNg5Gzc41WnWL F4hhER2TzHu8OTkgAHyLHRi0LjDuY1KEpg2IqFxv/igN0L1QST+UPKkVOO+GzkHAd7sn e1cBnlrPNcVUOmgYhgm4ADGOlRHXukuC1YbQPIpd5si/3/GpQxqW8/lzKwooILMTP1gg Snh1Fa/jMuc54U8S27WXRam9qRpA8iIkVHWWGd00/2fyhA/4yJRJZ6wH7dcwSbw3b/PW QWEv9MpalZosI8UghJPlwZeX5KAmerfAuTq5rFurUSeyS/aRtX2aztvMj6zTHq/9r25V q4nA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wxfr2UqrJP7k7q7uBFspyYkIYB+P3tVp1PAw4xsHiNQ=; b=ZqsVf7Qr7IKFHYP19mdPxwZx80gKrTvhOQBqp+6QbKF/Hz33kufpdleLeAxyamLunu PFFh/atYvdP0AL9P7yG1dKtAMRGMYPd78nMVKTnGff0T7PH2K69ZaW29yiW+uxFQ/L9b GLTlV9aumvOg852FG/0W9y/cjJWR3coFYzThTmJGQXvKosKKSlI/iRPadbvD2vwCuh6J ZdUi1ulcK4GeB8mtYtEJzYdWZ6R/26N6pGxfBZC7lfEvPrKQJkFIH1FJs1g9MLiweAGR IfB9Xv/RNb15NQK78LkBTI6ORGYyIXUpcoLh6Px2QbNEVbMqnLUO09LXJu8+Yd2QZE32 1Ruw== X-Gm-Message-State: APjAAAUc4cBZ8WYft6o387sNz1uXVNgqGd+0tqY1MVBBQg4vBf4skQnR gVRnhohCUMWHnHUk1Rwq9hO6yg== X-Received: by 2002:a1c:4956:: with SMTP id w83mr3327094wma.67.1560426161191; Thu, 13 Jun 2019 04:42:41 -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 b5sm2598490wru.69.2019.06.13.04.42.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 04:42:40 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman Date: Thu, 13 Jun 2019 13:42:31 +0200 Message-Id: <20190613114233.21130-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613114233.21130-1-jbrunet@baylibre.com> References: <20190613114233.21130-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 2/4] ASoC: meson: axg-tdmout: right_j is not supported 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" Right justified format is actually not supported by the amlogic tdm output encoder. Fixes: c41c2a355b86 ("ASoC: meson: add tdm output driver") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdmout.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/meson/axg-tdmout.c b/sound/soc/meson/axg-tdmout.c index 527bfc4487e0..86537fc0ecb5 100644 --- a/sound/soc/meson/axg-tdmout.c +++ b/sound/soc/meson/axg-tdmout.c @@ -137,7 +137,6 @@ static int axg_tdmout_prepare(struct regmap *map, break; case SND_SOC_DAIFMT_LEFT_J: - case SND_SOC_DAIFMT_RIGHT_J: case SND_SOC_DAIFMT_DSP_B: skew += 1; break; From patchwork Thu Jun 13 11:42:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 166608 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp650880ilk; Thu, 13 Jun 2019 04:46:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc0LygmxDW70CiwT+0y6rFsZG8clX3XlTR4hgNKFJEJ1ZSX1cmLz0NYQGz/R9o5kU6SHMx X-Received: by 2002:a7b:cb94:: with SMTP id m20mr3307648wmi.144.1560426363588; Thu, 13 Jun 2019 04:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560426363; cv=none; d=google.com; s=arc-20160816; b=Zf5t9oW3S23lqhWasqRSGua3X9MEjOdqQqAinE/F/OhzF69Mh2YEpkwMgnRQ1riq5X J1msBhc+GcR7DXbmiWAix0uPQS+da+IkOaD0YF8UWtr68iU7aFYdyTYZMNsWj7l1T/RI KlHnTr/+FDTnFsibAi9hNV9ayoZNRo7AxWpxp247u3mTu1vpvWtKIfWZcFcm4EodaL7+ tbn4jBHhmk1/wXLVP49yvydrxyriRWNSmsk19Wn3O3FxbGCPH89Va6z+oQjlA8n6EURd qY1nCOmk62UsqMivTdQD6cOoevA3FIdlTGoPIkRS2qAp/e/t+fe5AsEqvT7Ok1vHLxGs t5Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=F7So5VzqYs8AsLBSEAKWC1meobqUygbkMzw+Zblz/H4=; b=Ixlo4Lzr1v8UjbUsmmQZ3pFa+hyK+8zNw77Do+dg5b/tb/0CcI/7zLeBZCPwuI8Jld lddH4XRgVEUa0m1qAy4obQ32nwVeDuOW8ZqZc1zp64zNNYNardpAuFbVwkHaSpPg5KLD SjQOF6tOL2zF0JNZ8X/ZY0/k/IlJcYL6TGCb1dmKzo0HN0lTlEXK40OXbyDnavzg81cG lsuYR7OoP6VzaKSaaLLr2VQL8ETByDv6ZjyEUn0vPcbH74OPS9XbE4T89S6LP3hEODBZ ytSKHKbdRpt+JWpS2d4gUqh5hrl5+gvbRtTcgEAG6+qOJXpVS0uV3Oc/ztoIBSRpnLAT +HJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=s1LqboGu; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ARq6OKiJ; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id m9si2579410wrx.197.2019.06.13.04.46.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 04:46:03 -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=pass header.i=@alsa-project.org header.s=default header.b=s1LqboGu; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ARq6OKiJ; 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 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 B148B182E; Thu, 13 Jun 2019 13:45:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B148B182E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1560426362; bh=uQ96amlyZ42rL/XtjVyaHlhOH/7exK7pOVQIx0EJKC8=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=s1LqboGubugZ6jk12eWChhqtFcG3BZB7tRwX8Wqe9YsqQ9ephEVkVAQmQ54EXpALn PveekgQLrP9c9CQb2GsPNicN0Zc/BdPLYj/LCOnKTJdfu8BBVcMglbcMzzNr72+2J7 B4rC4lMKXLEEa2lli0CyXVh5IbXeeU4+hupyqeM8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 221EDF89736; Thu, 13 Jun 2019 13:42:50 +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 6B571F8970F; Thu, 13 Jun 2019 13:42:45 +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=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 D1213F80794 for ; Thu, 13 Jun 2019 13:42:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D1213F80794 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="ARq6OKiJ" Received: by mail-wr1-x443.google.com with SMTP id f9so20373141wre.12 for ; Thu, 13 Jun 2019 04:42:42 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=TExrEtVR1Qp+m2eA960X7wRJwZP76vaDnZqCemHrZMo=; b=ARq6OKiJiNJ8rcawe7B7CKa+kO25GegV4OLzlT2aC16bZB7ZbGOeh4KfbetAfkiOk3 YmtzX9XOJh2s/leNI5KQNSwKtxxkdQjzpdv8KAotEvXsQ7oqgwqaUX6IhwnhwJULiEzw HQINex/o0ZH99njmn2fOFSgGPlL6gLGHjJxPe1kpQMtpPZAoo0d79nsOVRjthp0VlL/6 exoH2sc5NANWn1mm4wVjEwCcQknz0R7B57hFUlVQDaYC8nALkbz73efD7CqPRVL9NhQ1 XRALVm86xKQJFghDjinxQgkadLhBSdqqAw2EQXBtQw/hKgK7S1lvbkzlqzbIo6KxT59B aS9A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TExrEtVR1Qp+m2eA960X7wRJwZP76vaDnZqCemHrZMo=; b=KxvLHICgwqkrN9+q1REUklAoRxhb2+HfqOkhiSTr6OJQc3o0gilI+vTFeJb5B8Ogab ql3D92nff+M4G39/HrHGc+CteoOvQIOMHZl9OwhQeeBAS0VxMDNuFldS38zzDb8RJeVK HHztZmI13SfhO4mOTl0QVR+McmTPOpV2fbfExMiBwgk79P8dJQoFubPZWF7GBOHcOncD D7snX6c3YyePnQYOlJMti/qnfKz7vFjDFdUb8VQJTZH4ZgjPPfn0SDHR4KeNTCL565hN OKlxoravNI3/mqI327rpJWfvzMek+ZVM6nxfIkNnq+wmUaZ3OAvpygyNTOrG0Vu7o05P CKSA== X-Gm-Message-State: APjAAAVACsEL49rcZLcBIzUGWBcbiTzWdC9In0ls1sYWqwzpwFBtQ/lD VbYE6WXuiXUvmyjpYDBwIV6TEw== X-Received: by 2002:adf:eb09:: with SMTP id s9mr57922277wrn.127.1560426162128; Thu, 13 Jun 2019 04:42:42 -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 b5sm2598490wru.69.2019.06.13.04.42.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 04:42:41 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman Date: Thu, 13 Jun 2019 13:42:32 +0200 Message-Id: <20190613114233.21130-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613114233.21130-1-jbrunet@baylibre.com> References: <20190613114233.21130-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 3/4] ASoC: meson: axg-tdm: fix sample clock inversion 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" The content of SND_SOC_DAIFMT_FORMAT_MASK is a number, not a bitfield, so the test to check if the format is i2s is wrong. Because of this the clock setting may be wrong. For example, the sample clock gets inverted in DSP B mode, when it should not. Fix the lrclk invert helper function Fixes: 1a11d88f499c ("ASoC: meson: add tdm formatter base driver") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/meson/axg-tdm.h b/sound/soc/meson/axg-tdm.h index e578b6f40a07..5774ce0916d4 100644 --- a/sound/soc/meson/axg-tdm.h +++ b/sound/soc/meson/axg-tdm.h @@ -40,7 +40,7 @@ struct axg_tdm_iface { static inline bool axg_tdm_lrclk_invert(unsigned int fmt) { - return (fmt & SND_SOC_DAIFMT_I2S) ^ + return ((fmt & SND_SOC_DAIFMT_FORMAT_MASK) == SND_SOC_DAIFMT_I2S) ^ !!(fmt & (SND_SOC_DAIFMT_IB_IF | SND_SOC_DAIFMT_NB_IF)); } From patchwork Thu Jun 13 11:42:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 166609 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp651390ilk; Thu, 13 Jun 2019 04:46:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAwLWNqioilOoBM6KSwAO+fdoJLDXWnorzmIaZDvXg+I0bNHVlBQGMDcDVmhJBOXxYR1mi X-Received: by 2002:a05:6000:1c9:: with SMTP id t9mr34750363wrx.187.1560426397093; Thu, 13 Jun 2019 04:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560426397; cv=none; d=google.com; s=arc-20160816; b=MSPXsHyqDkt1mJ43DnRwpv+5H1lUPq7LEwaGjKtZHxDZxwn7cpMVx5aLOGCYsGqFG9 0R6ilJ2cNVrWA/NEseyZLHSRvQGPbY5I1WfxVSWO0EOfzkx55TJqiFPpMGaXR1D9L+PR 0todnzNKyN5Ump53pWHMbWpi9fqqlY2xCje7lohAfAJkTwAdFWtjMNHE6SVwn/7KRjVX kKw5borq5q+bIwCwUamAiHf7FC8P8gSl+qxRUHhJFTwFmKTH/hU9uETtOKTgiWRQwqSJ Sug9bBmFUpAVQl7aMyaakck9yVBNMoa6BhD5WpEupPRGmgk5PCFGmMsM5oG+uMfOFGOy +IRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=GkTe+ELuVMBPN2VD2BkyYhOQr4vhdFIGP2FmdTumIwE=; b=K5mVfU++mgu8F1WbFfl0ceTKX7Jt4GNiItDCNM2nGge1auaiVOms8SIMb+g3lx4QF0 cPGfMDKB2+ReH+PT5pJV+BvCZ6dJx2xsRCXDKRvbPVR7IB3HYKgqQPKlELg52LRF8xfP 4e+fPSpiLvWDTg9Ul9O1+zai/OTc7BPmkPJG1ZFQadPE7b4zpW7sK797XorWO+g7WD8E 6U8pypRbp9zDU4TxjSOfP4KlsbG0W2XAz/Gtw5WpaGBXI7AGhVKimLym5Ykxe8CbwIl9 Cz8RqND5IYJfukcU9rpFOXEZ/M4qJedGeKru3zJe1zBaRO10llVkr0vxr5T5IH2Njv0I pieA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=AAHZ8Gyj; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Ok5DOoG/"; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id s1si2618054wrf.399.2019.06.13.04.46.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 04:46:37 -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=pass header.i=@alsa-project.org header.s=default header.b=AAHZ8Gyj; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Ok5DOoG/"; 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 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 39A691834; Thu, 13 Jun 2019 13:45:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 39A691834 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1560426396; bh=4oGUFylfAf4oP+tHY5VEcZHtZqdi6R6zC0ZZvG4neb8=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AAHZ8GyjEIeDjWxVY463GuN6Hkc8zCibURMO2WRSU6vonPxUTw4iDdhrUXp13xs8y CtKKxhyl2JNnj5SchYR6yxgaS8nfKde6daGjc6Ot3OXWBDw32aV+QF+tvjws71lcJU ATxrSPRbWLMilPzQi/woWj2XaZUeULWQbBX0DdFI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 337C1F89737; Thu, 13 Jun 2019 13:42:51 +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 5457EF80791; Thu, 13 Jun 2019 13:42:46 +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=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (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 77811F80791 for ; Thu, 13 Jun 2019 13:42:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 77811F80791 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="Ok5DOoG/" Received: by mail-wm1-x342.google.com with SMTP id a15so9826692wmj.5 for ; Thu, 13 Jun 2019 04:42:43 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tw+9nr0k/SQ4+6C+T7NQWdtgxVemIU5O6qgx24DY8vo=; b=Ok5DOoG/v42T5p/NULeH/QnUtOj3y3bgwt/tHoF5P/QfLizFjo2FteTJhShh/SJZlr Nmlqr3KRJRhMsWo6pVvAXVbul1OayENODZ5gcGgO5C7JDGHK9U+PzWdA/jg93WjfgrBX 3aPLgeJJNFVLG2B/rgjiiSmhS+VPDiaQJtZu9Yj5qNZsnJJwZOWKrk3hKiDrwVwOJa46 DJ8yGbCY355E06ytD2Ad5rB+zWuOJWxU5VFLulOd9U0WSoao+makMDcH1cw103nSXVwm WvwvNjZS5YfcP6dgfELXmWKxdmNFba7TWuBCTXVwsvhillQ7D9Jrl3egEbQtgmyPgiVH 5Z9Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tw+9nr0k/SQ4+6C+T7NQWdtgxVemIU5O6qgx24DY8vo=; b=pB1nN+YBiv5HFP0AKtLcFqimIJvLSDWyq8RMIoznbZk084zf0VnBZ1g5qK8dYk6xjO atC1vefTfyNcBwHWPACfhKQTwQ7W+nJirQLAaOLQzSeCCpWpv9X0gKlBEDHzE5gkM1oy UmyuM2/BqNiQ80kbUukEZo+DMheENt5HDRRKNcE/iKnnNZyvetwTLcod1n5lZZiWiHvR GqK3sF95ryYOUogHjr07TbmuSonHgHZKaQClUfYw4GbR6y3WHRJbyU/x5qdgdmQ3fjTy 5TgHG7kAW6FCGlKYnkh8CB262CE0go93DteorJp1rpkrO/JBbQ+rxDLVimpWVOUoQe9d kuAw== X-Gm-Message-State: APjAAAUxK6ZNQIHb81Q11WrEXobwoE9tnN0KByBgNcRD27Mu7o3Juuej NEtOYcvr6kAV7TE44K/Y1ok3Cg== X-Received: by 2002:a1c:9cd1:: with SMTP id f200mr3280189wme.157.1560426163056; Thu, 13 Jun 2019 04:42:43 -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 b5sm2598490wru.69.2019.06.13.04.42.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 04:42:42 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman Date: Thu, 13 Jun 2019 13:42:33 +0200 Message-Id: <20190613114233.21130-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613114233.21130-1-jbrunet@baylibre.com> References: <20190613114233.21130-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 4/4] ASoC: meson: axg-tdm: consistently use SND_SOC_DAIFMT defines 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" There a mix of SND_SOC_DAIFMT_ and SND_SOC_DAI_FORMAT_ in axg-tdm-interface.c. Even, if this is currently the same thing, lets use the same group consistently. Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdm-interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/meson/axg-tdm-interface.c b/sound/soc/meson/axg-tdm-interface.c index 585ce030b79b..d51f3344be7c 100644 --- a/sound/soc/meson/axg-tdm-interface.c +++ b/sound/soc/meson/axg-tdm-interface.c @@ -306,8 +306,8 @@ static int axg_tdm_iface_hw_params(struct snd_pcm_substream *substream, } break; - case SND_SOC_DAI_FORMAT_DSP_A: - case SND_SOC_DAI_FORMAT_DSP_B: + case SND_SOC_DAIFMT_DSP_A: + case SND_SOC_DAIFMT_DSP_B: break; default: