]> 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)
commit3c20ca6b2c2c83f82abde90a2a1cd7cfca134401
tree483adcd36f9d8afa97140c047cb4c6981e2366e1
parentded911d54390a6d6b4fb47494bddd05bd02da607
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