Patch "ASoC: fsl_micfil: Drop unnecessary register read" has been added to the 5.10-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: fsl_micfil: Drop unnecessary register read

to the 5.10-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-fsl_micfil-drop-unnecessary-register-read.patch
and it can be found in the queue-5.10 subdirectory.

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



commit b5802445b960a6ebba764b39ab30f72e30934fbf
Author: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Date:   Thu Apr 14 18:22:29 2022 +0200

    ASoC: fsl_micfil: Drop unnecessary register read
    
    [ Upstream commit c808e277bcdfce37aed80a443be305ac1aec1623 ]
    
    in get_pdm_clk() REG_MICFIL_CTRL2 is read twice. Drop second read.
    
    Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
    Acked-by: Shengjiu Wang <shengjiu.wang@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20220414162249.3934543-2-s.hauer@xxxxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Stable-dep-of: 06df673d2023 ("ASoC: fsl_micfil: fix regmap_write_bits usage")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
index 826829e3ff7a2..fe6d6c87a1c42 100644
--- a/sound/soc/fsl/fsl_micfil.c
+++ b/sound/soc/fsl/fsl_micfil.c
@@ -117,8 +117,6 @@ static inline int get_pdm_clk(struct fsl_micfil *micfil,
 	regmap_read(micfil->regmap, REG_MICFIL_CTRL2, &ctrl2_reg);
 	osr = 16 - ((ctrl2_reg & MICFIL_CTRL2_CICOSR_MASK)
 		    >> MICFIL_CTRL2_CICOSR_SHIFT);
-
-	regmap_read(micfil->regmap, REG_MICFIL_CTRL2, &ctrl2_reg);
 	qsel = ctrl2_reg & MICFIL_CTRL2_QSEL_MASK;
 
 	switch (qsel) {




[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