From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 569BAC4363A for ; Tue, 27 Oct 2020 17:50:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C54C241A7 for ; Tue, 27 Oct 2020 17:50:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1822596AbgJ0Ruj (ORCPT ); Tue, 27 Oct 2020 13:50:39 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:59047 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1822577AbgJ0Rue (ORCPT ); Tue, 27 Oct 2020 13:50:34 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id BBAA758042B; Tue, 27 Oct 2020 13:50:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 27 Oct 2020 13:50:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=kPMv8+Zh/KORhD0njYgb8hgRSSw 25d4PaOM70L8xwDI=; b=pZavBYKnU6QF++QvfUtkZbvkk3P6HwQ7RgBfrXlRTj2 ihaY2pqIXFyVR/3c0j3m0XxqGhdTshoXx03rZsY6vEmi7SADFoEluUvHevMcGV/R /NyzuD4ulB2zeAE3dU3oMZ+QwgLEZRQuMpGg9vl07CgxfhYYeBAi2UVlSi6mH4A9 srxmcWGGMwneP0lanBI7CdrXos7a33YvU4BSf31P18VAjgZg29pIqzpHzb2HPIG6 9s4VEXylVtWrjdVJJ2yL0yFuF9yZvxUJTeES7v/ApeqrOpqcwhNC3Peo5FKMip/j 6W9jG1oolzdTSVq1KYvLvoF9HtEcpdIpg8TetBPzYog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kPMv8+ Zh/KORhD0njYgb8hgRSSw25d4PaOM70L8xwDI=; b=UfPHz7w8O+SL/X1bbZLia3 sfk6aQQoDswyqW2Jctbo/nCS5EnpBVCfqDuhZdJ2p/TIkpxgBNa/OO2or4PI2xHI EQbISu/jUrr90WO7333EdYrHiqElYLZ7SWtSLThx3zJUm3p1wvrd0USN23saETRo 4CHq5MPHYu1KFumHHw6//p5iq++sJzsYuFdVDRwO+SJLNjrVmMfn5UC9pVwV0Z9Z 4X7JNSJD8iKlOWirQe9Iz8c1ffEJLBqwE48USHTcFm9QtWlcGgsRQNsg8taso1Mm TDnNXO6AhKmNxVtBQGlyNaftBlsQQXHBDNSQG91bV1MDSVVD+veCiA43KxmG9epw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeelgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepuddvudfhkeekhefgffetffelgffftdehffduffegveetffehueeivddvjedv gfevnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 2CEBF306467E; Tue, 27 Oct 2020 13:50:33 -0400 (EDT) Date: Tue, 27 Oct 2020 18:50:32 +0100 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Chen-Yu Tsai , Rob Herring , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Jernej Skrabec , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v8 04/14] ASoC: sun4i-i2s: Set sign extend sample Message-ID: <20201027175032.utw23rtbds6fwrbw@gilmour.lan> References: <20201026185239.379417-1-peron.clem@gmail.com> <20201026185239.379417-5-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y7eb4ufvmwjptweo" Content-Disposition: inline In-Reply-To: <20201026185239.379417-5-peron.clem@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --y7eb4ufvmwjptweo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 26, 2020 at 07:52:29PM +0100, Cl=E9ment P=E9ron wrote: > From: Marcus Cooper >=20 > On the newer SoCs such as the H3 and A64 this is set by default > to transfer a 0 after each sample in each slot. However the A10 > and A20 SoCs that this driver was developed on had a default > setting where it padded the audio gain with zeros. >=20 > This isn't a problem while we have only support for 16bit audio > but with larger sample resolution rates in the pipeline then SEXT > bits should be cleared so that they also pad at the LSB. Without > this the audio gets distorted. >=20 > Set sign extend sample for all the sunxi generations even if they > are not affected. This will keep consistency and avoid relying on > default. >=20 > Signed-off-by: Marcus Cooper > Reviewed-by: Chen-Yu Tsai > Signed-off-by: Cl=E9ment P=E9ron Acked-by: Maxime Ripard Maxime --y7eb4ufvmwjptweo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX5hd6AAKCRDj7w1vZxhR xZqpAP9enB//96j/jv0+jG66uQta3FVLXyXrsFR+yA3EJWQGlwEAqa2gc/mmLsQF O71Gw/GubfFkbyT8hscPCLiGcG3HxA4= =NGld -----END PGP SIGNATURE----- --y7eb4ufvmwjptweo--