diff options
author | Mark Brown <broonie@kernel.org> | 2015-04-08 21:09:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-08 21:09:54 +0100 |
commit | c77dc2c203908fe03582770b016ffc7c84242939 (patch) | |
tree | c85e844917bb40dbc9f9dc19cdc10af87f5624ea /sound/soc/omap/ams-delta.c | |
parent | 012baec5c1eaab7ad98b461eb7afae2faf79dbea (diff) | |
parent | 77c71765ef78f87dd901fcb4c751908e835a3b2e (diff) |
Merge branch 'topic/jack' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-tegra
Diffstat (limited to 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 706613077c15..16cc95fa4573 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c @@ -479,8 +479,8 @@ static int ams_delta_cx20442_init(struct snd_soc_pcm_runtime *rtd) /* Add hook switch - can be used to control the codec from userspace * even if line discipline fails */ - ret = snd_soc_jack_new(rtd->codec, "hook_switch", - SND_JACK_HEADSET, &ams_delta_hook_switch); + ret = snd_soc_card_jack_new(card, "hook_switch", SND_JACK_HEADSET, + &ams_delta_hook_switch, NULL, 0); if (ret) dev_warn(card->dev, "Failed to allocate resources for hook switch, " |