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>
This commit is contained in:
Mark Brown
2009-01-23 22:55:23 +00:00
parent 0db4d07052
commit 6627a653bc
31 changed files with 220 additions and 219 deletions

View File

@@ -34,7 +34,7 @@ int snd_soc_jack_new(struct snd_soc_card *card, const char *id, int type,
jack->card = card;
INIT_LIST_HEAD(&jack->pins);
return snd_jack_new(card->socdev->codec->card, id, type, &jack->jack);
return snd_jack_new(card->codec->card, id, type, &jack->jack);
}
EXPORT_SYMBOL_GPL(snd_soc_jack_new);
@@ -54,7 +54,7 @@ EXPORT_SYMBOL_GPL(snd_soc_jack_new);
*/
void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
{
struct snd_soc_codec *codec = jack->card->socdev->codec;
struct snd_soc_codec *codec = jack->card->codec;
struct snd_soc_jack_pin *pin;
int enable;
int oldstatus;