Skip to content

Commit

Permalink
ASoC: fix the building issue of missing codec field in 'struct snd_so…
Browse files Browse the repository at this point in the history
…c_card'

Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
ericmiao authored and broonie committed Nov 2, 2010
1 parent 5a0b074 commit cb99062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static void tosa_ext_control(struct snd_soc_codec *codec)
static int tosa_startup(struct snd_pcm_substream *substream)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_codec *codec = rtd->card->codec;
struct snd_soc_codec *codec = rtd->codec;

/* check the jack status at stream startup */
tosa_ext_control(codec);
Expand Down

0 comments on commit cb99062

Please sign in to comment.