aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-23 17:55:23 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-27 05:30:54 -0500
commit6627a653bceb3a54e55e5cdc478ec5b8d5c9cc44 (patch)
tree9a6f157ad1123e4f047689bbf3c4ef88ec1259a4 /sound/soc/soc-jack.c
parent0db4d0705260dd4bddf1e5a5441c58bdf08bdc9f (diff)
ASoC: Push the codec runtime storage into the card structure
This is a further stage on the road to refactoring away the ASoC platform device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r--sound/soc/soc-jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index 8cc00c3cdf34..ab64a30bedde 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -34,7 +34,7 @@ int snd_soc_jack_new(struct snd_soc_card *card, const char *id, int type,
34 jack->card = card; 34 jack->card = card;
35 INIT_LIST_HEAD(&jack->pins); 35 INIT_LIST_HEAD(&jack->pins);
36 36
37 return snd_jack_new(card->socdev->codec->card, id, type, &jack->jack); 37 return snd_jack_new(card->codec->card, id, type, &jack->jack);
38} 38}
39EXPORT_SYMBOL_GPL(snd_soc_jack_new); 39EXPORT_SYMBOL_GPL(snd_soc_jack_new);
40 40
@@ -54,7 +54,7 @@ EXPORT_SYMBOL_GPL(snd_soc_jack_new);
54 */ 54 */
55void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) 55void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
56{ 56{
57 struct snd_soc_codec *codec = jack->card->socdev->codec; 57 struct snd_soc_codec *codec = jack->card->codec;
58 struct snd_soc_jack_pin *pin; 58 struct snd_soc_jack_pin *pin;
59 int enable; 59 int enable;
60 int oldstatus; 60 int oldstatus;