Skip to content

Commit

Permalink
Merge remote-tracking branches 'asoc/topic/cx20442' and 'asoc/topic/d…
Browse files Browse the repository at this point in the history
…avinci' into asoc-next
  • Loading branch information
Mark Brown committed Apr 12, 2015
3 parents 6ca4aba + 3255639 + b213b44 commit 41caf05
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 26 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/cx20442.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static int cx20442_platform_probe(struct platform_device *pdev)
&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);
return 0;
Expand All @@ -431,7 +431,7 @@ static struct platform_driver cx20442_platform_driver = {
.name = "cx20442-codec",
},
.probe = cx20442_platform_probe,
.remove = __exit_p(cx20442_platform_remove),
.remove = cx20442_platform_remove,
};

module_platform_driver(cx20442_platform_driver);
Expand Down
7 changes: 3 additions & 4 deletions sound/soc/davinci/davinci-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ static const struct snd_soc_dapm_route audio_map[] = {
static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_card *card = rtd->card;
struct snd_soc_codec *codec = rtd->codec;
struct device_node *np = card->dev->of_node;
int ret;

Expand All @@ -136,9 +135,9 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
}

/* not connected */
snd_soc_dapm_nc_pin(&codec->dapm, "MONO_LOUT");
snd_soc_dapm_nc_pin(&codec->dapm, "HPLCOM");
snd_soc_dapm_nc_pin(&codec->dapm, "HPRCOM");
snd_soc_dapm_nc_pin(&card->dapm, "MONO_LOUT");
snd_soc_dapm_nc_pin(&card->dapm, "HPLCOM");
snd_soc_dapm_nc_pin(&card->dapm, "HPRCOM");

return 0;
}
Expand Down
Loading

0 comments on commit 41caf05

Please sign in to comment.