summaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-evm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi2015-04-07 13:03:53 +0200
committerMark Brown2015-04-07 13:05:44 +0200
commit4cd9db08598454e4d051b818c5f1d61ac7539a47 (patch)
treebda0bbad6d76044e76e8a714046bf998022a4168 /sound/soc/davinci/davinci-evm.c
parentASoC: davinci-mcasp: Index ruledata in drvdata with substream->stream (diff)
downloadkernel-qcow2-linux-4cd9db08598454e4d051b818c5f1d61ac7539a47.tar.gz
kernel-qcow2-linux-4cd9db08598454e4d051b818c5f1d61ac7539a47.tar.xz
kernel-qcow2-linux-4cd9db08598454e4d051b818c5f1d61ac7539a47.zip
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 'sound/soc/davinci/davinci-evm.c')
0 files changed, 0 insertions, 0 deletions