Skip to content

Commit

Permalink
ASoC: Fix WM8978/migor driver name conflict
Browse files Browse the repository at this point in the history
Standardise on 'wm8978' as the name for the CODEC.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed Sep 20, 2010
1 parent b9fde18 commit 5250a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8978.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ MODULE_DEVICE_TABLE(i2c, wm8978_i2c_id);

static struct i2c_driver wm8978_i2c_driver = {
.driver = {
.name = "WM8978-codec",
.name = "wm8978",
.owner = THIS_MODULE,
},
.probe = wm8978_i2c_probe,
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sh/migor.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static struct snd_soc_dai_link migor_dai = {
.cpu_dai_name = "siu-i2s-dai",
.codec_dai_name = "wm8978-hifi",
.platform_name = "siu-pcm-audio",
.codec_name = "wm8978-codec.0-001a",
.codec_name = "wm8978.0-001a",
.ops = &migor_dai_ops,
.init = migor_dai_init,
};
Expand Down

0 comments on commit 5250a50

Please sign in to comment.