Patch "ASoC: atmel-pdmic: Remove endianness flag on pdmic component" has been added to the 5.18-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: atmel-pdmic: Remove endianness flag on pdmic component

to the 5.18-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-atmel-pdmic-remove-endianness-flag-on-pdmic-com.patch
and it can be found in the queue-5.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit be8e958d41bc028d12a807c43f06317a15daf3df
Author: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Date:   Wed May 4 18:08:29 2022 +0100

    ASoC: atmel-pdmic: Remove endianness flag on pdmic component
    
    [ 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 <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220504170905.332415-3-ckeepax@xxxxxxxxxxxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/atmel/atmel-pdmic.c b/sound/soc/atmel/atmel-pdmic.c
index 42117de299e7..ea34efac2fff 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 */



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux