Patch "ASoC: mediatek: mt8183-da7219: fix wrong ops for I2S3" has been added to the 5.9-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: mediatek: mt8183-da7219: fix wrong ops for I2S3

to the 5.9-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-mediatek-mt8183-da7219-fix-wrong-ops-for-i2s3.patch
and it can be found in the queue-5.9 subdirectory.

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



commit 0f29c3c68abc3b2c2e3d21811f1976b60f886b01
Author: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
Date:   Tue Oct 6 18:12:52 2020 +0800

    ASoC: mediatek: mt8183-da7219: fix wrong ops for I2S3
    
    [ Upstream commit ebb11d1d9fe2d6b4a47755f7f09b2b631046e308 ]
    
    DA7219 uses I2S2 and I2S3 for input and output respectively.  Commit
    9e30251fb22e ("ASoC: mediatek: mt8183-da7219: support machine driver
    with rt1015") introduces a bug that:
    - If using I2S2 solely, MCLK to DA7219 is 256FS.
    - If using I2S3 solely, MCLK to DA7219 is 128FS.
    - If using I2S3 first and then I2S2, the MCLK changes from 128FS to
      256FS.  As a result, no sound output to the headset.  Also no sound
      input from the headset microphone.
    
    Both I2S2 and I2S3 should set MCLK to 256FS.  Fixes the wrong ops for
    I2S3.
    
    Fixes: 9e30251fb22e ("ASoC: mediatek: mt8183-da7219: support machine driver with rt1015")
    Signed-off-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20201006101252.1890385-1-tzungbi@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
index 06d0a4f80fc17..a6c690c5308d3 100644
--- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
@@ -673,7 +673,7 @@ static int mt8183_da7219_max98357_dev_probe(struct platform_device *pdev)
 			if (card == &mt8183_da7219_max98357_card) {
 				dai_link->be_hw_params_fixup =
 					mt8183_i2s_hw_params_fixup;
-				dai_link->ops = &mt8183_mt6358_i2s_ops;
+				dai_link->ops = &mt8183_da7219_i2s_ops;
 				dai_link->cpus = i2s3_max98357a_cpus;
 				dai_link->num_cpus =
 					ARRAY_SIZE(i2s3_max98357a_cpus);



[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