From patchwork Tue May 10 15:38:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Keepax X-Patchwork-Id: 12845190 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5FA4CC433EF for ; Tue, 10 May 2022 15:39:48 +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 7AFE61714; Tue, 10 May 2022 17:38:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7AFE61714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652197186; bh=0gl6YjifZ48p95EAFI9QIcqHocUsQpt8ofqzQHMaiOc=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=XyHeK7O/cwl/L8tMxrd4aJXZ/ceeYIgvEjS86NQqmbZplVkibF/riI/PxLpSwg8Zo LN5ewes/D3+jFX54sHw1gdYrz8o+TeX7tOVXt5QUoY/q9xkq0hPSpKcqguDkIBsdPI MnBLMiVKqTj1a/a/tQ0KM/1LfkW3hmouGz3zO8ls= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 15267F80116; Tue, 10 May 2022 17:38:56 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7C060F801F5; Tue, 10 May 2022 17:38:54 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (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 5CD98F8011C for ; Tue, 10 May 2022 17:38:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5CD98F8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="fjS9/kqC" Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24AAnksa002925; Tue, 10 May 2022 10:38:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=dg0oyQMaullQyMu8kTtxfBfWMC10BvrQWRcyxV0UMl0=; b=fjS9/kqCywITSPVUP3EUg5aQYizMjOR147swNUGhytVMFzIzw8SCEpDtQ55zrZiFFfA8 Qg5kDALQmfP9FYJ2xgmm20f0Ruu/wzHoc4aqkBZO8Y6EMEsKI05XLZTZlDnZE1ol5pYB l1/TPu4sxa2izeyZyfoTtITjz8gyEWFpUhArFRfPP7hUjr11r9agqp8S/zI6RtwPtAi7 dATHl2ImpYatT6+XHNUwz0PkqTQGTvyien0hAOHm76CQanLOXzRzSHqEGuGL0qmppwmC SzPrupa2jOLU+xUoJt/R45PAMvzW4MteMloGvTmAR4nFVpmrITiM9NUdw0AOS0xuU/iP 9g== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3fwn6nvgdy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 10 May 2022 10:38:45 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 10 May 2022 16:38:43 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Tue, 10 May 2022 16:38:43 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 73952B10; Tue, 10 May 2022 15:38:43 +0000 (UTC) From: Charles Keepax To: Subject: [PATCH 1/2] ASoC: wm2000: Remove redundant endianness flag Date: Tue, 10 May 2022 16:38:42 +0100 Message-ID: <20220510153843.1029540-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: n-LLanMvipaeaKYOtjD_W8qe6VfEI0S9 X-Proofpoint-GUID: n-LLanMvipaeaKYOtjD_W8qe6VfEI0S9 X-Proofpoint-Spam-Reason: safe Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, kuninori.morimoto.gx@renesas.com 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 endianness flag is used on the CODEC side to specify an ambivalence to endian, typically because it is lost over the hardware link. This device has no DAI links and as such the flag would have no effect, remove the redundant flag. Signed-off-by: Charles Keepax --- sound/soc/codecs/wm2000.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c index 075ee852eb724..6a86ce3fb182d 100644 --- a/sound/soc/codecs/wm2000.c +++ b/sound/soc/codecs/wm2000.c @@ -803,7 +803,6 @@ static const struct snd_soc_component_driver soc_component_dev_wm2000 = { .num_dapm_routes = ARRAY_SIZE(wm2000_audio_map), .idle_bias_on = 1, .use_pmdown_time = 1, - .endianness = 1, .non_legacy_dai_naming = 1, }; From patchwork Tue May 10 15:38:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Keepax X-Patchwork-Id: 12845191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7B92FC433EF for ; Tue, 10 May 2022 15:40:20 +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 7E1971899; Tue, 10 May 2022 17:39:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7E1971899 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652197218; bh=5N+oDhzs8rlZRckrfLBD4c23kDhUJHiVFBs0WkZ/PWQ=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=e+r17D06ZCBATPpJHBBp4dxR44Do0v78yASB6TZSIVPLpEpAujLOTXtCSdHbN5bC+ ZADMUsJLHbX99CnS7LkCJ9jsrJZJGgzEGH8hfeqxSF/T/2Zg4/JPaF0+Mb0Jnx6eqz tO9us5ujXRulfiI3TKAbvCiMt2YihNsFBjTpuYYY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D8A6F80240; Tue, 10 May 2022 17:38:56 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 936DDF8019D; Tue, 10 May 2022 17:38:54 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (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 5F78CF80153 for ; Tue, 10 May 2022 17:38:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5F78CF80153 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="GGX0L1eX" Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24A1Vu6u002517; Tue, 10 May 2022 10:38:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=CAGqj+TaOlGcTduhW6lm+mCWgMXxx/GyWKbpEzW7OBM=; b=GGX0L1eXl1fXW8DJV+07j27J63fSEz9nS8zIkVtOe2uX882T6a3eKluaSETS0h6TLVwv eOw2dYQ51FQqx9VBcJ89pWgZMsl8O7VQ2Rop/Ea+m7/qvT5qcNH2t1rgXPHI+9KkSRVo xDP9xNJMJ1eht4FOZZhVn0PJ89WbsSvXNwXfE/v2zqwaOetS1uF1g0dVI97fJ+3yhcpy IyjmaAVfz8eE7b+uZ5gMBxQBxSxB4cFemM3AmhDQAMiHx0ohCv/uQOeAO4tKmpvnY51A toH54g0xhXDL9oD4gkLXU5TN7GebG34rbpfDAxobi+wXoAN36ygjI9iybUz9XZFhUw+x 9w== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3fwn6nvgdx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 10 May 2022 10:38:45 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 10 May 2022 16:38:43 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Tue, 10 May 2022 16:38:43 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 81E6411D3; Tue, 10 May 2022 15:38:43 +0000 (UTC) From: Charles Keepax To: Subject: [PATCH 2/2] ASoC: wm9090: Remove redundant endianness flag Date: Tue, 10 May 2022 16:38:43 +0100 Message-ID: <20220510153843.1029540-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220510153843.1029540-1-ckeepax@opensource.cirrus.com> References: <20220510153843.1029540-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: _gT-9Z_-gtZjMxcLzUWbHeBuZBUS2kpE X-Proofpoint-GUID: _gT-9Z_-gtZjMxcLzUWbHeBuZBUS2kpE X-Proofpoint-Spam-Reason: safe Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, kuninori.morimoto.gx@renesas.com 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 endianness flag is used on the CODEC side to specify an ambivalence to endian, typically because it is lost over the hardware link. This device has no DAI links and as such the flag would have no effect, remove the redundant flag. Signed-off-by: Charles Keepax --- sound/soc/codecs/wm9090.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c index 1bae81a7d3908..f7d80f1e37a80 100644 --- a/sound/soc/codecs/wm9090.c +++ b/sound/soc/codecs/wm9090.c @@ -543,7 +543,6 @@ static const struct snd_soc_component_driver soc_component_dev_wm9090 = { .suspend_bias_off = 1, .idle_bias_on = 1, .use_pmdown_time = 1, - .endianness = 1, .non_legacy_dai_naming = 1, };