Skip to content
Commit db92b40a authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Paul Gortmaker
Browse files

ASoC: rt5640: Fix NULL dereference on module unload



commit 89b71b3f upstream.

The rt5640->jack is NULL if jack is already disabled at the time of
driver's module unloading.

Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200106014707.11378-1-digetx@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent c038a23b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment