aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/spdif_transciever.c8
-rw-r--r--sound/soc/soc-core.c2
-rw-r--r--sound/soc/tegra/tegra_i2s.c2
3 files changed, 8 insertions, 4 deletions
diff --git a/sound/soc/codecs/spdif_transciever.c b/sound/soc/codecs/spdif_transciever.c
index 4c32b54913ad..6a1a7e705cd7 100644
--- a/sound/soc/codecs/spdif_transciever.c
+++ b/sound/soc/codecs/spdif_transciever.c
@@ -21,7 +21,7 @@
21#include <sound/pcm.h> 21#include <sound/pcm.h>
22#include <sound/initval.h> 22#include <sound/initval.h>
23 23
24MODULE_LICENSE("GPL"); 24#define DRV_NAME "spdif-dit"
25 25
26#define STUB_RATES SNDRV_PCM_RATE_8000_96000 26#define STUB_RATES SNDRV_PCM_RATE_8000_96000
27#define STUB_FORMATS SNDRV_PCM_FMTBIT_S16_LE 27#define STUB_FORMATS SNDRV_PCM_FMTBIT_S16_LE
@@ -56,7 +56,7 @@ static struct platform_driver spdif_dit_driver = {
56 .probe = spdif_dit_probe, 56 .probe = spdif_dit_probe,
57 .remove = spdif_dit_remove, 57 .remove = spdif_dit_remove,
58 .driver = { 58 .driver = {
59 .name = "spdif-dit", 59 .name = DRV_NAME,
60 .owner = THIS_MODULE, 60 .owner = THIS_MODULE,
61 }, 61 },
62}; 62};
@@ -74,3 +74,7 @@ static void __exit dit_exit(void)
74module_init(dit_modinit); 74module_init(dit_modinit);
75module_exit(dit_exit); 75module_exit(dit_exit);
76 76
77MODULE_AUTHOR("Steve Chen <schen@mvista.com>");
78MODULE_DESCRIPTION("SPDIF dummy codec driver");
79MODULE_LICENSE("GPL");
80MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 5968745213f8..bb7cd5812945 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1930,7 +1930,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
1930 snprintf(card->snd_card->longname, sizeof(card->snd_card->longname), 1930 snprintf(card->snd_card->longname, sizeof(card->snd_card->longname),
1931 "%s", card->long_name ? card->long_name : card->name); 1931 "%s", card->long_name ? card->long_name : card->name);
1932 snprintf(card->snd_card->driver, sizeof(card->snd_card->driver), 1932 snprintf(card->snd_card->driver, sizeof(card->snd_card->driver),
1933 "%s", card->driver_name); 1933 "%s", card->driver_name ? card->driver_name : card->name);
1934 1934
1935 if (card->late_probe) { 1935 if (card->late_probe) {
1936 ret = card->late_probe(card); 1936 ret = card->late_probe(card);
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index 4f5e2c90b020..6b817e20548c 100644
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -114,7 +114,7 @@ static void tegra_i2s_debug_remove(struct tegra_i2s *i2s)
114 debugfs_remove(i2s->debug); 114 debugfs_remove(i2s->debug);
115} 115}
116#else 116#else
117static inline void tegra_i2s_debug_add(struct tegra_i2s *i2s) 117static inline void tegra_i2s_debug_add(struct tegra_i2s *i2s, int id)
118{ 118{
119} 119}
120 120