Messages in this thread | | | From | Axel Lin <> | Date | Sat, 26 Jun 2021 08:48:56 +0800 | Subject | Re: [PATCH] regulator: hi6421v600: Fix setting wrong driver_data |
| |
> > - 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
| |