Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3092293rwb; Mon, 15 Aug 2022 17:56:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR417U7gFp7MFySmMxGYMo3OktZsbh8yjHx/FWvtHEuUI+u6D+Ogrxt/VZoJ5/NFs4kRALPb X-Received: by 2002:a17:906:5a49:b0:730:aced:aa0e with SMTP id my9-20020a1709065a4900b00730acedaa0emr11979983ejc.31.1660611387221; Mon, 15 Aug 2022 17:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611387; cv=none; d=google.com; s=arc-20160816; b=Gun4zIYqHm5dW571BSzvNAKISA5j6XhKNw/wjFkmZ+bHdNXYBHxnn0rlylrctLNYYK /RAT5/Ra2WF5vYFzhrvswC9lWerYLGrvLWpo1OUpkJKoEsulTh1Wl3xFdmzp7jQ6Pxf/ I2KFYy2RO6AqeoqczvWJf5UeO3rXaJp7fGwdOMwZs6RrhvG2+LB2FumFR3y8G9a3S6P6 rZuo/6+ZU9fjj6SuWspp8cYDVGK4UCqlsIHR/VVQj5WAolE/jIy7P606Vj1deX0uxEcO IKrHHDkM6rIHIBuYbbIpr7sghI4d2kyRgBw6QQQsQMdffscpASM9Bpb/eyhnl/x+pm74 Iyww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xwB6MIPs1PUiWBCHUd5Fd3liyd5l4EFK/w6zycZ8q1A=; b=XdW7o/YqFryWDlwCB8QrVb6Lo19cMhHkKAHDLfunthunselbfwCc3cG/3i/6oUqmeb rUN2fXDjeImpxrY3LnnZGvdDdNQtKKI/IWj0jIpoBT583Rgrb0A+AptYh5K4y9Bi+TET rA6wngyYvP8prvD7EzvHicZy2PqCgKQDdAYtm6ObXzBaQ1N50VgpczzrtKcW03FxiivB T5hbDwpTj9j+9uwWAnEFXkdn31m3iiWKlcKFJIkS8RPDljjqZW7Y15ha+qXNOR91ekWB dq1hp/4n6ydAtT9KFrZORmdlbu38qPp6+Yoy4BzUZMyn2QUcTudjOeN9Be2YiFmJVQkt MU3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g0sKesqr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x25-20020a1709065ad900b0073099685059si7162678ejs.591.2022.08.15.17.55.59; Mon, 15 Aug 2022 17:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g0sKesqr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344326AbiHPAo3 (ORCPT + 99 others); Mon, 15 Aug 2022 20:44:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350173AbiHPAlm (ORCPT ); Mon, 15 Aug 2022 20:41:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32CAA1907E5; Mon, 15 Aug 2022 13:39:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AF9E5B81197; Mon, 15 Aug 2022 20:39:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AC42C433D6; Mon, 15 Aug 2022 20:39:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595992; bh=poDWCIjXQdZOYKDtK4fB+2LprMUP+thyEgOgjHZB9/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g0sKesqrhzhhozYWzvuLH5k8O00mDQl2ZEdRPWMqfioAyj/5KflHPy++PDdi5uomU df9RejyyTmhs4lPnVtL+vPYCc3Wt/his8vvdBK+jrpaI6HhnaiOmnOdHIWh3CzuTJK qnC2ncsxpzon/Ya8tGTZcBlNJ0qObkIpH3SZ+oNs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Charles Keepax , Mark Brown , Sasha Levin Subject: [PATCH 5.19 0906/1157] ASoC: cs35l45: Add endianness flag in snd_soc_component_driver Date: Mon, 15 Aug 2022 20:04:22 +0200 Message-Id: <20220815180515.695385074@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Charles Keepax [ Upstream commit d919630fe77904931277e663c902582ea6f4e4cf ] 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 receives audio over an I2S DAI and as such should have endianness applied. Fixes: 0d463d016000 ("ASoC: cs35l45: Add driver for Cirrus Logic CS35L45 Smart Amp") Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220614131022.778057-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/cs35l45.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/cs35l45.c b/sound/soc/codecs/cs35l45.c index 2367c1a4c10e..145051390471 100644 --- a/sound/soc/codecs/cs35l45.c +++ b/sound/soc/codecs/cs35l45.c @@ -500,6 +500,8 @@ static const struct snd_soc_component_driver cs35l45_component = { .num_controls = ARRAY_SIZE(cs35l45_controls), .name = "cs35l45", + + .endianness = 1, }; static int __maybe_unused cs35l45_runtime_suspend(struct device *dev) -- 2.35.1