ASoC: davinci-mcasp: Index ruledata in drvdata with substream->stream
authorJyri Sarha <jsarha@ti.com>
Fri, 27 Mar 2015 09:47:51 +0000 (11:47 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Apr 2015 20:34:15 +0000 (21:34 +0100)
commit7b3d165a282145e605247148d3dec034814e0a78
tree483adcd36f9d8afa97140c047cb4c6981e2366e1
parenta75a053f1eefbbbbae0f7d6bf1ed12ce012112b7
ASoC: davinci-mcasp: Index ruledata in drvdata with substream->stream

The serializer direction definitions runs from 1 to 2, which does not
suite the purpose. The substream->stream is perfect for the purpose
and should have been used from the beginning.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c