commit | 4cd9db08598454e4d051b818c5f1d61ac7539a47 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Tue Apr 07 14:03:53 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Tue Apr 07 12:05:44 2015 +0100 |
tree | bda0bbad6d76044e76e8a714046bf998022a4168 | |
parent | 7b3d165a282145e605247148d3dec034814e0a78 [diff] |
ASoC: davinci-mcasp: Fix ruledata setup in davinci_mcasp_startup Passing &mcasp->ruledata[dir] to snd_pcm_hw_rule_add() is not correct since commit: 7b3d165a2821 ASoC: davinci-mcasp: Index ruledata in drvdata with substream->stream now sets up the struct based on the substream->stream (0 or 1) while we pass a pointer which we take with dir (1 or 2). This will lead kernel crash. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>