Patch "ASoC: sunxi: sun4i-codec: set debugfs_prefix for CPU DAI component" has been added to the 6.0-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: sunxi: sun4i-codec: set debugfs_prefix for CPU DAI component

to the 6.0-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-sunxi-sun4i-codec-set-debugfs_prefix-for-cpu-da.patch
and it can be found in the queue-6.0 subdirectory.

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



commit 45fec26e20948967042c9157a8a6c5ce84c78ea8
Author: Mikhail Rudenko <mike.rudenko@xxxxxxxxx>
Date:   Wed Sep 14 00:22:55 2022 +0300

    ASoC: sunxi: sun4i-codec: set debugfs_prefix for CPU DAI component
    
    [ Upstream commit 717a8ff20f32792d6a94f2883e771482c37d844b ]
    
    At present, succesfull probing of H3 Codec results in an error
    
        debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present!
    
    This is caused by a directory name conflict between codec
    components. Fix it by setting debugfs_prefix for the CPU DAI
    component.
    
    Signed-off-by: Mikhail Rudenko <mike.rudenko@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20220913212256.151799-2-mike.rudenko@xxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 830beb38bf15..fdf3165acd70 100644
--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -1232,6 +1232,9 @@ static const struct snd_soc_component_driver sun8i_a23_codec_codec = {
 static const struct snd_soc_component_driver sun4i_codec_component = {
 	.name			= "sun4i-codec",
 	.legacy_dai_naming	= 1,
+#ifdef CONFIG_DEBUG_FS
+	.debugfs_prefix		= "cpu",
+#endif
 };
 
 #define SUN4I_CODEC_RATES	SNDRV_PCM_RATE_CONTINUOUS



[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