[PATCH 10/11] ASoC: codecs: rt298: Fix NULL jack in interrupt

Mark Brown broonie at kernel.org
Thu Jun 9 16:19:34 CEST 2022


On Thu, Jun 09, 2022 at 03:35:40PM +0200, Amadeusz Sławiński wrote:
> Set rt298->jack to passed value in mic_detect, otherwise when jack is
> set to NULL on next interrupt call, we may use freed pointer.

This is an actual fix so should go towards the start of the series,
putting fixes at the start of the series avoids them getting spurious
dependencies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220609/b1633cf0/attachment.sig>


More information about the Alsa-devel mailing list