26 Sep
2014
26 Sep
'14
9:19 p.m.
How should I rewrite this to reflect that codec->card has been removed? This is codec is on the SOC chip, not an external one.
static int sunxi_codec_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) { struct snd_soc_pcm_runtime *rtd = substream->private_data; struct snd_soc_dai *codec_dai = rtd->codec_dai; struct snd_soc_codec *codec = codec_dai->codec; struct snd_soc_card *card = codec->card; struct sunxi_priv *priv = snd_soc_card_get_drvdata(card); ...
Complete file... https://bitbucket.org/emiliolopez/linux/src/fbfc3e9c092c90574aee454062fc465e...
--
Jon Smirl
jonsmirl@gmail.com