[alsa-devel] [PATCH] ASoC: davinci-mcasp: Fix ruledata setup in davinci_mcasp_startup

Mark Brown broonie at kernel.org
Tue Apr 7 13:05:52 CEST 2015


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150407/74a503f6/attachment.sig>


More information about the Alsa-devel mailing list