[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200727140212.GS1850026@dell>
Date: Mon, 27 Jul 2020 15:02:12 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc: linux-kernel@...r.kernel.org, patches@...nsource.cirrus.com
Subject: Re: [RESEND PATCH v3 1/2] mfd: mfd-core: Add mechanism for removal
of a subset of children
On Thu, 23 Jul 2020, Charles Keepax wrote:
> Currently, the only way to remove MFD children is with a call to
> mfd_remove_devices, which will remove all the children. Under
> some circumstances it is useful to remove only a subset of the
> child devices. For example if some additional clean up is required
> between removal of certain child devices.
>
> To accomplish this a level field is added to mfd_cell, the normal
> mfd_remove_devices is modified to not remove devices that are set
> to a higher level and a corresponding mfd_remove_devices_late
> function is added to remove those children.
>
> See further discussion at:
> https://lore.kernel.org/lkml/20200616075834.GF2608702@dell/
>
> Suggested-by: Lee Jones <lee.jones@...aro.org>
> Signed-off-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
> ---
> drivers/mfd/mfd-core.c | 16 +++++++++++++++-
> include/linux/mfd/core.h | 5 +++++
> 2 files changed, 20 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists