Skip to content

Commit

Permalink
ASoC: fix uninitialised variable in siu_dai.c
Browse files Browse the repository at this point in the history
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Guennadi Liakhovetski authored and Mark Brown committed May 26, 2010
1 parent 6a2f1ee commit 3ca3414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/sh/siu_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ static int siu_dai_prepare(struct snd_pcm_substream *substream,
ret = siu_dai_spbstart(port_info);
if (ret < 0)
goto fail;
} else {
ret = 0;
}

port_info->play_cap |= self;
Expand Down

0 comments on commit 3ca3414

Please sign in to comment.