For dynamic compress rtd, the codec_dai may not have any actual
meaning(like snd-soc-dummy-dai), so compress id can just use the
value of dai_link->stream_name. But for others, its codec_dai
has actual meaning, so compress id can include codec_dai name.
Signed-off-by: Peng Donglin <dol
n,so i think that the former copy operation can be removed.
Peng Donglin (12):
ASoC: s3c24xx_uda134x: Remove unnecessary function call
ASoC: mediatek: Remove unnecessary function call
ASoC: Intel: Remove unnecessary function call
ASoC: atmel: Remove unnecessary function call
ASoC: a
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/samsung/s3c24xx_uda134x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c
b/sound/soc/samsung/s3c24xx_uda134x.c
index 55538
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650.c| 1 -
3 files ch
y operation,
so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/atmel/atmel-classd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c
index b7
ion,
so i think that the latter copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/intel/boards/bytcht_da7213.c | 1 -
sound/soc/intel/boards/bytcht_es8316.c | 1 -
sound/soc/intel/boards/bytcr_rt5651.c| 1 -
sound/soc/intel/boards/
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/mxs/mxs-sgtl5000.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index a96276e..2ed3240 100644
--- a
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 2 --
sound/soc/rockchip/rk3399_gru_sound.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/sound/soc/rockchip/rk3288_hdmi_ana
y operation,
so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
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 c917df7..8e3d3
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/atmel/atmel-classd.c | 1 -
sound/soc/atmel/atmel-pdmic.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sound/soc/atmel/atmel-clas
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
Changes in v2:
-add missed occurrences.
sound/soc/intel/boards/bytcht_da7213.c | 6 ++
sound/soc/intel/boards/bytcht_es8316.c
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt
When calling the function devm_snd_soc_register_card to
register a sound card,the address of snd_soc_card will be
assigned to dev->driver_data automatically,so there is no
extra need to call platform_set_drvdata.
Peng Donglin (10):
ASoC: s3c24xx_uda134x: Remove unnecessary function call
A
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/samsung/s3c24xx_uda134x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c
b/sound/soc/s
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/ux500/mop500.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index ba9fc0
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/tegra/tegra_alc5632.c | 1 -
sound/soc/tegra/tegra_max98090.c | 1 -
sound/soc/tegra/tegra_rt5640.c | 1 -
sound/soc/tegra/tegra_rt
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sound/soc/rockchip/rk3288_hdmi_an
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/mxs/mxs-sgtl5000.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/m
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Acked-by: Banajit Goswami <bgosw...@codeaurora.org>
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/qcom/apq8016_sbc.c | 1 -
sound/soc/qcom/storm.c | 1 -
2 files changed,
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/sunxi/sun4i-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
hould be at the same indent
WARNING: Statements should start on a tabstop
WARNING: Block comments use * on subsequent lines
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/last.c | 2 +-
sound/sound_core.c | 163
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/soc-dapm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index dcef67a..0867eaa 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -4167,7 +
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/qcom/storm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c
index c5207af..a9fa972 100644
--- a/sound/soc/qcom/storm
ed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/qcom/apq8016_sbc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/qcom/apq8016_sbc.c b/sound/soc/qcom/apq8016_sbc.c
index d084d74..5292591 100644
--- a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc
he same copy operation,so i think that the former copy
operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/sunxi/sun4i-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 15006
tion,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/ux500/mop500.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index ba9fc09..070a688 100644
--- a/sound/soc
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/tegra/tegra_alc5632.c | 1 -
sound/soc/tegra/tegra_max98090.c | 1 -
sound/soc/tegra/tegra_rt5640.c | 1 -
sound/soc/tegra/tegra_rt5677.c | 1 -
sound/soc/tegra/te
...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.
Peng Donglin (2):
ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
ARM64: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
arch/arm/mm/ptdump_debugfs.c | 13 +
arch/ar
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Peng Donglin
---
arch/arm64/mm/ptdump_debugfs.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/arch/arm64/mm/ptdump_debugfs.c b/arch/arm64/mm/ptdump_debugfs.c
index 02b18f8..24d786f 100644
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Peng Donglin
---
arch/arm/mm/ptdump_debugfs.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/arch/arm/mm/ptdump_debugfs.c b/arch/arm/mm/ptdump_debugfs.c
index be8d87b..79002fe 100644
/platform_list/codec_list.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/soc-core.c | 111 +--
1 file changed, 37 insertions(+), 74 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index c0edac8..7b58211
There is some duplicate code in soc-core.c,and the kernel provides
DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
---
sound/soc/soc-core.c | 51 +--
1 file chan
There is some duplicate code in soc-core.c, and the kernel provides
DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h.
Signed-off-by: Peng Donglin <dolinux.p...@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevche...@gmail.com>
---
v4:
* resend patch using outlook em
There is some duplicate code in soc-core.c, and the kernel provides
DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h.
Signed-off-by: Peng Donglin
Reviewed-by: Andy Shevchenko
---
v4:
* resend patch using outlook email, because I can't disable gmail
word wrap in plain text
hould be at the same indent
WARNING: Statements should start on a tabstop
WARNING: Block comments use * on subsequent lines
Signed-off-by: Peng Donglin
---
sound/last.c | 2 +-
sound/sound_core.c | 163 -
2 files changed, 76 inserti
n,so i think that the former copy operation can be removed.
Peng Donglin (12):
ASoC: s3c24xx_uda134x: Remove unnecessary function call
ASoC: mediatek: Remove unnecessary function call
ASoC: Intel: Remove unnecessary function call
ASoC: atmel: Remove unnecessary function call
ASoC: a
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650.c| 1 -
3 files changed, 3 deletions(-)
diff -
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/samsung/s3c24xx_uda134x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c
b/sound/soc/samsung/s3c24xx_uda134x.c
index 55538e3..758e46e 100644
--- a/sound
ion,
so i think that the latter copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/intel/boards/bytcht_da7213.c | 1 -
sound/soc/intel/boards/bytcht_es8316.c | 1 -
sound/soc/intel/boards/bytcr_rt5651.c| 1 -
sound/soc/intel/boards/cht_bsw_max98090_ti.c | 1 -
y operation,
so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/atmel/atmel-classd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c
index b7ef8c5..0cd7caa 100644
--- a/sound/
y operation,
so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
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 c917df7..8e3d34b 100644
--- a/sound/soc/atme
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 2 --
sound/soc/rockchip/rk3399_gru_sound.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c
b/sound/
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/mxs/mxs-sgtl5000.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index a96276e..2ed3240 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++
ed-off-by: Peng Donglin
---
sound/soc/qcom/apq8016_sbc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/qcom/apq8016_sbc.c b/sound/soc/qcom/apq8016_sbc.c
index d084d74..5292591 100644
--- a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc.c
@@ -191,7 +191,6 @@ stat
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/qcom/storm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c
index c5207af..a9fa972 100644
--- a/sound/soc/qcom/storm.c
+++ b/sound/soc/qcom/stor
he same copy operation,so i think that the former copy
operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/sunxi/sun4i-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 1500699..82beeae 100644
--- a/sound/soc
tion,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/ux500/mop500.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index ba9fc09..070a688 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/
n,so i think that the former copy operation can be removed.
Signed-off-by: Peng Donglin
---
sound/soc/tegra/tegra_alc5632.c | 1 -
sound/soc/tegra/tegra_max98090.c | 1 -
sound/soc/tegra/tegra_rt5640.c | 1 -
sound/soc/tegra/tegra_rt5677.c | 1 -
sound/soc/tegra/tegra_sgtl5000.c | 1 -
sou
When calling the function devm_snd_soc_register_card to
register a sound card,the address of snd_soc_card will be
assigned to dev->driver_data automatically,so there is no
extra need to call platform_set_drvdata.
Peng Donglin (10):
ASoC: s3c24xx_uda134x: Remove unnecessary function call
A
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/samsung/s3c24xx_uda134x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c
b/sound/soc/samsung/s3c24xx_uda134x.c
index
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650.c| 1 -
3 files
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
Changes in v2:
-add missed occurrences.
sound/soc/intel/boards/bytcht_da7213.c | 6 ++
sound/soc/intel/boards/bytcht_es8316.c | 6 ++
sound/soc/intel/boards
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/atmel/atmel-classd.c | 1 -
sound/soc/atmel/atmel-pdmic.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c
b/sound/soc/rockchip
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/mxs/mxs-sgtl5000.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Acked-by: Banajit Goswami
Signed-off-by: Peng Donglin
---
sound/soc/qcom/apq8016_sbc.c | 1 -
sound/soc/qcom/storm.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sound/soc/qcom/apq8016_sbc.c b
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/sunxi/sun4i-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 150069987c0c..82beeae8edc5
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/tegra/tegra_alc5632.c | 1 -
sound/soc/tegra/tegra_max98090.c | 1 -
sound/soc/tegra/tegra_rt5640.c | 1 -
sound/soc/tegra/tegra_rt5677.c | 1 -
sound/soc/tegra
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/ux500/mop500.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index ba9fc099cf67..070a6880980e 100644
For dynamic compress rtd, the codec_dai may not have any actual
meaning(like snd-soc-dummy-dai), so compress id can just use the
value of dai_link->stream_name. But for others, its codec_dai
has actual meaning, so compress id can include codec_dai name.
Signed-off-by: Peng Donglin
---
sound/
Signed-off-by: Peng Donglin
---
sound/soc/soc-dapm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index dcef67a..0867eaa 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -4167,7 +4167,7 @@ void
There is some duplicate code in soc-core.c,and the kernel provides
DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h.
Signed-off-by: Peng Donglin
---
sound/soc/soc-core.c | 51 +--
1 file changed, 9 insertions(+), 42 deletions
/platform_list/codec_list.
Signed-off-by: Peng Donglin
---
sound/soc/soc-core.c | 111 +--
1 file changed, 37 insertions(+), 74 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index c0edac8..7b58211 100644
--- a/sound/soc/soc
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Peng Donglin
---
arch/arm/mm/ptdump_debugfs.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/arch/arm/mm/ptdump_debugfs.c b/arch/arm/mm/ptdump_debugfs.c
index be8d87b..79002fe 100644
...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.
Peng Donglin (2):
ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
ARM64: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
arch/arm/mm/ptdump_debugfs.c | 13 +
arch/ar
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Peng Donglin
---
arch/arm64/mm/ptdump_debugfs.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/arch/arm64/mm/ptdump_debugfs.c b/arch/arm64/mm/ptdump_debugfs.c
index 02b18f8..24d786f 100644
66 matches
Mail list logo