Re: [PATCH] mfd: macsmc: Initialize mutex
From: Sven Peter
Date: Wed Oct 08 2025 - 10:21:06 EST
On 25.09.25 22:33, Janne Grunau wrote:
Struct apple_smc's mutex was not initialized before use. Surprisingly
this only resulted in occasional NULL pointer dereferences in
apple_smc_read() calls from the probe() functions of sub devices.
Fixes: e038d985c9823 ("mfd: Add Apple Silicon System Management Controller")
Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
---
Reviewed-by: Sven Peter <sven@xxxxxxxxxx>
Thanks,
Sven