diff options
| author | Mark Brown <broonie@kernel.org> | 2015-04-08 16:09:54 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-04-08 16:09:54 -0400 |
| commit | c77dc2c203908fe03582770b016ffc7c84242939 (patch) | |
| tree | c85e844917bb40dbc9f9dc19cdc10af87f5624ea /include | |
| 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 'include')
| -rw-r--r-- | include/sound/soc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 0d1ade195628..40b3ee96f317 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
| @@ -450,8 +450,10 @@ int soc_dai_hw_params(struct snd_pcm_substream *substream, | |||
| 450 | struct snd_soc_dai *dai); | 450 | struct snd_soc_dai *dai); |
| 451 | 451 | ||
| 452 | /* Jack reporting */ | 452 | /* Jack reporting */ |
| 453 | int snd_soc_jack_new(struct snd_soc_codec *codec, const char *id, int type, | 453 | int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type, |
| 454 | struct snd_soc_jack *jack); | 454 | struct snd_soc_jack *jack, struct snd_soc_jack_pin *pins, |
| 455 | unsigned int num_pins); | ||
| 456 | |||
| 455 | void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask); | 457 | void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask); |
| 456 | int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count, | 458 | int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count, |
| 457 | struct snd_soc_jack_pin *pins); | 459 | struct snd_soc_jack_pin *pins); |
| @@ -659,7 +661,7 @@ struct snd_soc_jack_gpio { | |||
| 659 | struct snd_soc_jack { | 661 | struct snd_soc_jack { |
| 660 | struct mutex mutex; | 662 | struct mutex mutex; |
| 661 | struct snd_jack *jack; | 663 | struct snd_jack *jack; |
| 662 | struct snd_soc_codec *codec; | 664 | struct snd_soc_card *card; |
| 663 | struct list_head pins; | 665 | struct list_head pins; |
| 664 | int status; | 666 | int status; |
| 665 | struct blocking_notifier_head notifier; | 667 | struct blocking_notifier_head notifier; |
