Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2197738iof; Tue, 7 Jun 2022 22:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybcinoLnTV2mUoo/svkiGE7gxXeUDRpzaNEp8VbnuGkU7GhIL3s+tWiqhoQvQzIhlytkLg X-Received: by 2002:a63:b55:0:b0:3fd:a384:bd10 with SMTP id a21-20020a630b55000000b003fda384bd10mr13853727pgl.534.1654667840257; Tue, 07 Jun 2022 22:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667840; cv=none; d=google.com; s=arc-20160816; b=t/AF+4FuD/D8wc5ZnX3mGs36S5tXF1T+W7Row2a/r1oNs52qX4ri7aGl0tT8+ojrSv KvP4OiUWk9Tj7HhE3I3p8q2eEIWAaN/u42zu/KoqK1tm7NzduNK71iqWBjdWsZ6u9owD gANdxEB2bTm5+Ba5Vh+QFCB+mzSX8u1J3XRSohHmQrlt1ZsE2Vz90mA6hVxqQmHw28ql l7qjfDuNAaWw/LOSGKbAF+M4ZSJE1vZrK7XqeHXq1ErWzo7EfPo3+sBSIsG+Cux6nPyI Qt+5eVGAJoWMWCgaw62Sg35pSAQXIS4+VmheQcxbuFHop9H7f6WeIbsSXZSirfissxz+ vzNA== 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=Ch6vrkvay1YjKpQ0YnJfKCjmOEuwIA66f7WRR+C8vqc=; b=pNtR/a+hSEW+qJHcoody0k7qQtHIPt7PMKdo60R3pYksLvMh3n8NrVu3j3xXgZiJSN P1CcHZNNX5y5LaO8HraGEGIq8++td2U4SXE/PnNlapG8a8dLWqirGO7CQn1as9XHfYWs ddidmqjsY3WZLZxf5OCHV2GQZEpzI8fKK8cjrzc1RbX00/y9dcWVF4XFMb3Ft28jj4Ar nDzpLPNu7pfL8DUolyqiEVjGB64C+P54ST1RMd+nrgoGolpXmI6cZ0VacIZa3hSDYu8C cN+/2BB+2kmUkQtJJAG1StS/KJIN4VsK0rN/UGxu176AFtu4x+OMmnG01vjXjfgmQ6J1 /NlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OfveBuSu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q13-20020a170902dacd00b0016406e6ff4asi17559789plx.102.2022.06.07.22.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:57:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OfveBuSu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 13EDB250275; Tue, 7 Jun 2022 22:23:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344575AbiFHA7E (ORCPT + 99 others); Tue, 7 Jun 2022 20:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382118AbiFGVzh (ORCPT ); Tue, 7 Jun 2022 17:55:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDC8124C0B1; Tue, 7 Jun 2022 12:13:44 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 7A5F36187F; Tue, 7 Jun 2022 19:13:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84F99C385A2; Tue, 7 Jun 2022 19:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629221; bh=ahpB3z3e2xSNZkK8vXSnKkUONv9J/XSv9U0JcNldZX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OfveBuSuHRiqDO8b5Yb0DLsXhtuXBRuC46r5DKYbvgn9ToZ4FI7wSwxJ3s9ZQskUc UGwfBOy3hIPE1r/eWsLew1VIdLcvloAdBbaqPWDQSuAdFhTMwd5nfUzjQq+QmHlBKu SeyuDDUnGq/Hlb67PNzZyTF/YA7s1ZojzHhwVxP0= 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.18 613/879] ASoC: atmel-classd: Remove endianness flag on class d component Date: Tue, 7 Jun 2022 19:02:11 +0200 Message-Id: <20220607165020.642605947@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 0104d52a6a69b06b0e8167f7c1247e8c76aca070 ] The endianness flag should have been removed when the driver was ported across from having both a CODEC and CPU side component, to just having a CPU component and using the dummy for the CODEC. The endianness flag is used to indicate that the device is completely ambivalent to the endianness of the data, typically due to the endianness being lost over the hardware link (ie. the link defines bit ordering). It's usage didn't have any effect when the driver had both a CPU and CODEC component, since the union of those equals the CPU side settings, but now causes the driver to falsely report it supports big endian. Correct this by removing the flag. Fixes: 1dfdbe73ccf9 ("ASoC: atmel-classd: remove codec component") Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220504170905.332415-4-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/atmel/atmel-classd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c index a9f9f449c48c..74b7b2611aa7 100644 --- a/sound/soc/atmel/atmel-classd.c +++ b/sound/soc/atmel/atmel-classd.c @@ -458,7 +458,6 @@ static const struct snd_soc_component_driver atmel_classd_cpu_dai_component = { .num_controls = ARRAY_SIZE(atmel_classd_snd_controls), .idle_bias_on = 1, .use_pmdown_time = 1, - .endianness = 1, }; /* ASoC sound card */ -- 2.35.1