Commit 68817ee4 authored by Mark Brown's avatar Mark Brown

Merge branch 'for-3.1' into for-3.2

parents 0473e61b 371e7305
...@@ -778,11 +778,18 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi) ...@@ -778,11 +778,18 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi)
return 0; return 0;
} }
static const struct spi_device_id wm8750_spi_ids[] = {
{ "wm8750", 0 },
{ "wm8987", 0 },
};
MODULE_DEVICE_TABLE(spi, wm8750_spi_id);
static struct spi_driver wm8750_spi_driver = { static struct spi_driver wm8750_spi_driver = {
.driver = { .driver = {
.name = "wm8750-codec", .name = "wm8750-codec",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.id_table = wm8750_spi_ids,
.probe = wm8750_spi_probe, .probe = wm8750_spi_probe,
.remove = __devexit_p(wm8750_spi_remove), .remove = __devexit_p(wm8750_spi_remove),
}; };
......
...@@ -131,7 +131,7 @@ static struct snd_soc_dai_link jive_dai = { ...@@ -131,7 +131,7 @@ static struct snd_soc_dai_link jive_dai = {
.cpu_dai_name = "s3c2412-i2s", .cpu_dai_name = "s3c2412-i2s",
.codec_dai_name = "wm8750-hifi", .codec_dai_name = "wm8750-hifi",
.platform_name = "samsung-audio", .platform_name = "samsung-audio",
.codec_name = "wm8750-codec.0-0x1a", .codec_name = "wm8750-codec.0-001a",
.init = jive_wm8750_init, .init = jive_wm8750_init,
.ops = &jive_ops, .ops = &jive_ops,
}; };
......
...@@ -37,7 +37,7 @@ static int speyside_wm8962_set_bias_level(struct snd_soc_card *card, ...@@ -37,7 +37,7 @@ static int speyside_wm8962_set_bias_level(struct snd_soc_card *card,
44100 * 256, 44100 * 256,
SND_SOC_CLOCK_IN); SND_SOC_CLOCK_IN);
if (ret < 0) { if (ret < 0) {
pr_err("Failed to set SYSCLK: %d\n"); pr_err("Failed to set SYSCLK: %d\n", ret);
return ret; return ret;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment