7 Apr
2015
7 Apr
'15
1:05 p.m.
On Tue, Apr 07, 2015 at 02:03:53PM +0300, Peter Ujfalusi wrote:
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.
Applied, thanks.