Commit 41caf056 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branches 'asoc/topic/cx20442' and 'asoc/topic/davinci' into asoc-next

...@@ -420,7 +420,7 @@ static int cx20442_platform_probe(struct platform_device *pdev) ...@@ -420,7 +420,7 @@ static int cx20442_platform_probe(struct platform_device *pdev)
&cx20442_codec_dev, &cx20442_dai, 1); &cx20442_codec_dev, &cx20442_dai, 1);
} }
static int __exit cx20442_platform_remove(struct platform_device *pdev) static int cx20442_platform_remove(struct platform_device *pdev)
{ {
snd_soc_unregister_codec(&pdev->dev); snd_soc_unregister_codec(&pdev->dev);
return 0; return 0;
...@@ -431,7 +431,7 @@ static struct platform_driver cx20442_platform_driver = { ...@@ -431,7 +431,7 @@ static struct platform_driver cx20442_platform_driver = {
.name = "cx20442-codec", .name = "cx20442-codec",
}, },
.probe = cx20442_platform_probe, .probe = cx20442_platform_probe,
.remove = __exit_p(cx20442_platform_remove), .remove = cx20442_platform_remove,
}; };
module_platform_driver(cx20442_platform_driver); module_platform_driver(cx20442_platform_driver);
......
...@@ -117,7 +117,6 @@ static const struct snd_soc_dapm_route audio_map[] = { ...@@ -117,7 +117,6 @@ static const struct snd_soc_dapm_route audio_map[] = {
static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
{ {
struct snd_soc_card *card = rtd->card; struct snd_soc_card *card = rtd->card;
struct snd_soc_codec *codec = rtd->codec;
struct device_node *np = card->dev->of_node; struct device_node *np = card->dev->of_node;
int ret; int ret;
...@@ -136,9 +135,9 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) ...@@ -136,9 +135,9 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
} }
/* not connected */ /* not connected */
snd_soc_dapm_nc_pin(&codec->dapm, "MONO_LOUT"); snd_soc_dapm_nc_pin(&card->dapm, "MONO_LOUT");
snd_soc_dapm_nc_pin(&codec->dapm, "HPLCOM"); snd_soc_dapm_nc_pin(&card->dapm, "HPLCOM");
snd_soc_dapm_nc_pin(&codec->dapm, "HPRCOM"); snd_soc_dapm_nc_pin(&card->dapm, "HPRCOM");
return 0; return 0;
} }
......
This diff is collapsed.
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