diff options
author | Mark Brown <broonie@kernel.org> | 2015-04-12 21:48:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-12 21:48:29 +0300 |
commit | 89a88dd3d6823f46bfb1405c4b358f89d5526cd6 (patch) | |
tree | a1b6550b08da296aa14e8f59fe97ada6c67d5f63 /sound/soc/fsl/imx-es8328.c | |
parent | 3eaecb4b50693378bb55cc633992e7f72be35687 (diff) | |
parent | d7e3281b52fea8917fb4a7a5b09df5e6a9d2850c (diff) | |
download | linux-89a88dd3d6823f46bfb1405c4b358f89d5526cd6.tar.xz |
Merge tag 'asoc-v4.1' into asoc-next
ASoC: Changes for v4.1
A selection of changes for v4.1 so far. The main things are:
- Move of jack registration to the card where it belongs.
- Support for DAPM routes specified by both the machine driver and DT.
# gpg: Signature made Thu 05 Mar 2015 01:10:27 GMT using RSA key ID 5D5487D0
# gpg: WARNING: digest algorithm MD5 is deprecated
# gpg: please see https://gnupg.org/faq/weak-digest-algos.html for more information
# gpg: Oops: keyid_from_fingerprint: no pubkey
# gpg: Good signature from "Mark Brown <broonie@sirena.org.uk>"
# gpg: aka "Mark Brown <broonie@debian.org>"
# gpg: aka "Mark Brown <broonie@kernel.org>"
# gpg: aka "Mark Brown <broonie@tardis.ed.ac.uk>"
# gpg: aka "Mark Brown <broonie@linaro.org>"
# gpg: aka "Mark Brown <Mark.Brown@linaro.org>"
Diffstat (limited to 'sound/soc/fsl/imx-es8328.c')
-rw-r--r-- | sound/soc/fsl/imx-es8328.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-es8328.c b/sound/soc/fsl/imx-es8328.c index f8cf10e16ce9..20e7400e2611 100644 --- a/sound/soc/fsl/imx-es8328.c +++ b/sound/soc/fsl/imx-es8328.c @@ -53,9 +53,9 @@ static int imx_es8328_dai_init(struct snd_soc_pcm_runtime *rtd) /* Headphone jack detection */ if (gpio_is_valid(data->jack_gpio)) { - ret = snd_soc_jack_new(rtd->codec, "Headphone", - SND_JACK_HEADPHONE | SND_JACK_BTN_0, - &headset_jack); + ret = snd_soc_card_jack_new(rtd->card, "Headphone", + SND_JACK_HEADPHONE | SND_JACK_BTN_0, + &headset_jack, NULL, 0); if (ret) return ret; |