Messages in this thread | | | From | Rob Herring <> | Date | Fri, 16 Oct 2020 09:38:28 -0500 | Subject | Re: [RFC] of/platform: Create device link between simple-mfd and its children |
| |
On Thu, Oct 15, 2020 at 6:43 AM Nicolas Saenz Julienne <nsaenzjulienne@suse.de> wrote: > > 'simple-mfd' usage implies there might be some kind of resource sharing > between the parent device and its children.
It does? No! The reason behind simple-mfd was specifically because there was no parent driver or dependency on the parent. No doubt simple-mfd has been abused.
Rob
> By creating a device link > with DL_FLAG_AUTOREMOVE_CONSUMER we make sure that at no point in time > the parent device is unbound while leaving its children unaware that > some of their resources disappeared. > > Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
| |