Re: [PATCH] regulator: hi6421v600: Fix setting wrong driver_data
From: Axel Lin
Date: Fri Jun 25 2021 - 20:49:40 EST
> > - mutex_init(&sreg->enable_mutex);
> > + mutex_init(&priv->enable_mutex);
>
>
> > + platform_set_drvdata(pdev, priv);
>
> This won't work, as platform data was already set, as it is already used
> as part of the MFD/SPMI binding logic. With the current
I think you mixed dev->platform_data with dev->driver_data.
Can you check again?
Regards,
Axel