All of lore.kernel.org
 help / color / mirror / Atom feed
* codec->card removed
@ 2014-09-26 19:19 jonsmirl
  2014-09-26 19:25 ` Lars-Peter Clausen
  0 siblings, 1 reply; 5+ messages in thread
From: jonsmirl @ 2014-09-26 19:19 UTC (permalink / raw)
  To: alsa-devel mailing list

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/fbfc3e9c092c90574aee454062fc465e8c71703c/sound/soc/sunxi/sunxi-codec.c?at=sunxi-codec-exp


-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-26 20:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 19:19 codec->card removed jonsmirl
2014-09-26 19:25 ` Lars-Peter Clausen
2014-09-26 19:32   ` jonsmirl
2014-09-26 19:46     ` Lars-Peter Clausen
2014-09-26 20:42       ` jonsmirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.