diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-04-07 14:03:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-07 14:05:44 +0300 |
commit | 4cd9db08598454e4d051b818c5f1d61ac7539a47 (patch) | |
tree | bda0bbad6d76044e76e8a714046bf998022a4168 /Kbuild | |
parent | 7b3d165a282145e605247148d3dec034814e0a78 (diff) | |
download | linux-4cd9db08598454e4d051b818c5f1d61ac7539a47.tar.xz |
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions