From patchwork Thu Sep 19 07:16:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 174036 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp650284ill; Thu, 19 Sep 2019 00:17:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb5K7NEns2lt4xgFeMrBNcK2mVrOOnGiPXxmmqEwy5HHglW6JVaQxOJ1RLXt+0tKY6Oow/ X-Received: by 2002:adf:f601:: with SMTP id t1mr5905408wrp.36.1568877450255; Thu, 19 Sep 2019 00:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568877450; cv=none; d=google.com; s=arc-20160816; b=I/qeli+hysq6c4uUdxaLjCP5DYt4rS8yxpYD2IfJ+dOsc1Bll90HD3Sktm39rG/B7T dy8QhiDb0w4CE8lLKPWKrG4S+X4A7XPynGZ/zz0UJ23tiK05DsNkwjfk1tcuW6yNC9sS EnEmW73OCebTA52b3sF1hqq159PZL2wEO5SbzhDxgKWxoyQ2XnekskGWr2jyPgY3nEWd zJN8QCa8BinjI6THUGVUvdsYmJE9TkeBxvgpxWsb+wVe8p4QEzruMQ/2UJooYrGQoWvR eM3u5y10vSkE3wiDJ7+Hi/a92zz5+v8cpi+buxH/j+qTGYqFp7n6RZ+pQp4ReW/c6ys6 RoHg== 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:message-id:date:to:from:dkim-signature:dkim-filter :delivered-to:dkim-signature:dkim-filter; bh=Y8ZZ6ePBh4fZ3XfSE26zSoO3nbGQ4aHDg5wpuV7BTgI=; b=SxwbLKMq6ZyKMrUpZgFUxjfsbn6klIM+J3/7g131uBpTle0SlSWG+KJjza49V78kxd fHVsisyO9T/ZIn614Tz28elvLubAiFIdMiJ5vw9mg0CDOUPWamjIoeSvRREf8hmBTdMG qkRjjdDPUOXbt+b57FeSee4bmrlyccTW1gZOzypPJtFeWxQdYCZfwdbUpSApfCSu0dnI XFIPMSetTF/EXbpRQzZizyqztiWWnwHonlP49YWKPULDZS0eKX7x0KxH8mlPLNwTcHuU Zq3CVW7xcqGHwn6qePQZyy2o7wIBdzfMXINW/HrdWzNxGWReXFQ/NbvEPqNDmKz9VeLi YFFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=ihq8xbkZ; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=m01Q9X3R; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id w7si3473821wmk.6.2019.09.19.00.17.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 00:17:30 -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=ihq8xbkZ; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=m01Q9X3R; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 A1B90166A; Thu, 19 Sep 2019 09:16:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A1B90166A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1568877448; bh=NQBPLp9VzwOJpG6reG1AIJDiMws088L/Q3C9XrPnLHM=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=ihq8xbkZgDPbEp2CwpUMDgqMyxkKlXnyRJXufmWU7O2s1FfElG7OT7q3VecZzVE2u G+4cXxdy6HIPZXoLtmQ4rewBJhaDFuLCrPmBAXV/LQquMwN5i4n/L1u7Pt1BPA6mqj aW2zRLkGMkh9wi5/79Sv7n5Vw7JpearkOMoHRR7A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 27938F80307; Thu, 19 Sep 2019 09:16:38 +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 2E00BF80361; Thu, 19 Sep 2019 09:16:27 +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.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, PRX_BODY_78, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9C405F80146 for ; Thu, 19 Sep 2019 09:16:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9C405F80146 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="m01Q9X3R" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8J7GIlV078993; Thu, 19 Sep 2019 02:16:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568877378; bh=6or8c4vTPdaLaVqNa/3K/a+7Tt7lUSH4syfIX/YH4Bw=; h=From:To:CC:Subject:Date; b=m01Q9X3Rp6x00OrmdSDoCWmER0k2BaJx4kw/bUooXrsxOEOV4AtIAVPOv7GNdquVx XyNNxHvips5/DOfYwBIFyfei2kQF/LUrzos8q9KyWOwB/pgFHcx6bwLXaplsVsB1Qk gOi8d7nkvjJPMKzrZ6CJrmWjHxQT8m2I9Im4QO/4= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8J7GISm040928 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 19 Sep 2019 02:16:18 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 02:16:14 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 19 Sep 2019 02:16:13 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8J7GF2Z095192; Thu, 19 Sep 2019 02:16:16 -0500 From: Peter Ujfalusi To: , Date: Thu, 19 Sep 2019 10:16:52 +0300 Message-ID: <20190919071652.31724-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: alsa-devel@alsa-project.org, kuninori.morimoto.gx@renesas.com Subject: [alsa-devel] [PATCH] ASoC: pcm3168a: The codec does not support S32_LE 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" 24 bits is supported in all modes and 16 bit only when the codec is slave and the DAI is set to RIGHT_J. Remove the unsupported sample format. Signed-off-by: Peter Ujfalusi --- sound/soc/codecs/pcm3168a.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/pcm3168a.c b/sound/soc/codecs/pcm3168a.c index 50ed86d45c26..88b75695fbf7 100644 --- a/sound/soc/codecs/pcm3168a.c +++ b/sound/soc/codecs/pcm3168a.c @@ -21,8 +21,7 @@ #define PCM3168A_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ SNDRV_PCM_FMTBIT_S24_3LE | \ - SNDRV_PCM_FMTBIT_S24_LE | \ - SNDRV_PCM_FMTBIT_S32_LE) + SNDRV_PCM_FMTBIT_S24_LE) #define PCM3168A_FMT_I2S 0x0 #define PCM3168A_FMT_LEFT_J 0x1