Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2136739iof; Tue, 7 Jun 2022 20:59:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwESKmtQ8yjxqPd9nYFcIZXkxDngD99eBjdPMj6vYiTYdxsUyI1PqeNWLHH/cm2AC7e3R6m X-Received: by 2002:a63:4c09:0:b0:3fc:a85f:8c07 with SMTP id z9-20020a634c09000000b003fca85f8c07mr28149224pga.509.1654660770854; Tue, 07 Jun 2022 20:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654660770; cv=none; d=google.com; s=arc-20160816; b=eomIEkWVvNuP+lddXubI7rwGit7CYVjW7Kr1wpFUh4OGxQmfvsA3v+NOwvXc8XuqYE DMyDzbuXlaTl76xGRCgJqeDP+UDz6zMBR7W6LOOIKmV+35e4EMpnTg4bGYIWseYN1N5f ZqYkwc8wpr79k/arC6E94G7/YMwZFkMiwJUulXzJP9OOFtovjfHcvYcn4nSkNXENCzFX Qpwjgf8fA5d5CSaGGwJrRaUUmd5Z58vpiIefNSoyDKU4y3fSP+TiHtCgJhQjESCLIfOh xNzeK2bmsbiUMY7JcAaQ845x0PA/H+KxaFm8ov2blTwaTKPmKzhbGJnTU9f2bwbupOCN Vr4w== 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=R0WYeyNbTRgAVxYdzUXJ8vrnlzyMth4I4XFamLPSmdc=; b=m2svULCFk+ORKBqJLtrGqoBI1mAUbCKKrUPJnASdtKPosWfYfErU0FJbmhu4485Z0n 8ksD5AaM/zYYlname8FRTzTc3T/7CBzKLzTppSq8hYK+p7aLwUh0yMUGxswKCuDSnLm9 jaQmdJeDc8WLPCUzg0Xna08cMZI/25IP61WPPp95RklrzWhYQNvoFCKwd4ZMMF2f9itv SfVd80VFYSaPtBYPs3mmXYQB/9ToLu8CMaZ8AvcIKQQ+jlUOXeCtwrPYS1F0uHx0Xm9x 0rrASU3RTSxAq+yYzjpgN6D27NwYPbcbVkZvmHu0Hqg5e10z0icp8QKtaTvx7y63nkck GmUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KcxdNrOg; 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 v71-20020a63894a000000b003fc3e715428si26023424pgd.342.2022.06.07.20.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:59:30 -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=KcxdNrOg; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CB2A203D35; Tue, 7 Jun 2022 20:38:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242705AbiFGRxm (ORCPT + 99 others); Tue, 7 Jun 2022 13:53:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347822AbiFGRft (ORCPT ); Tue, 7 Jun 2022 13:35:49 -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 4A1D410A632; Tue, 7 Jun 2022 10:31:48 -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 04C03B82285; Tue, 7 Jun 2022 17:31:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F00BC385A5; Tue, 7 Jun 2022 17:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623105; bh=v09xPAsk/yP3Wxx2wRm66/yibzyov9NUjjZG7AkDYyE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KcxdNrOg2Xm+Zqx2IkiiaDRCRBaElwjFoLy8M34fPsm6qizNW86xIQJa1odaF3ZxQ MTYB/mzmlpmzP0zSoO5ylDRwUxR8fkst2lCIrvLZ6gu/9I+tN69KVHA7pRM6Zyu1bU FWTY/BI1CqgUEKz5wNaGPsLsV5V3qAeq5Zi4yHQk= 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.10 298/452] ASoC: atmel-pdmic: Remove endianness flag on pdmic component Date: Tue, 7 Jun 2022 19:02:35 +0200 Message-Id: <20220607164917.436609143@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@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 52857c3baa0e5ddeba7b2c84e56bb71c9674e048 ] 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: f3c668074a04 ("ASoC: atmel-pdmic: remove codec component") Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220504170905.332415-3-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/atmel/atmel-pdmic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/atmel/atmel-pdmic.c b/sound/soc/atmel/atmel-pdmic.c index 8e1d8230b180..049383e5405e 100644 --- a/sound/soc/atmel/atmel-pdmic.c +++ b/sound/soc/atmel/atmel-pdmic.c @@ -481,7 +481,6 @@ static const struct snd_soc_component_driver atmel_pdmic_cpu_dai_component = { .num_controls = ARRAY_SIZE(atmel_pdmic_snd_controls), .idle_bias_on = 1, .use_pmdown_time = 1, - .endianness = 1, }; /* ASoC sound card */ -- 2.35.1