]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita79625cedd0d028ac709cf11383bdf8cb331a68b
tree483adcd36f9d8afa97140c047cb4c6981e2366e1
parentcd0c50db8ece31c7a2c661c4f2feb5a992b70957
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