Re: [PATCH v2 02/46] mtd: nand: Provide nand_cleanup() function to free NAND related resources

From: Boris Brezillon
Date: Wed Sep 21 2016 - 10:42:42 EST


On Wed, 21 Sep 2016 16:38:28 +0200
Daniel Walter <dwalter@xxxxxxxxxxxxx> wrote:

> Boris,
>
> On 09/21/2016 04:25 PM, Boris Brezillon wrote:
> > Daniel, Richard,
> >
> > On Wed, 21 Sep 2016 11:44:41 +0200
> > Daniel Walter <dwalter@xxxxxxxxxxxxx> wrote:
> >
> >> From: Richard Weinberger <richard@xxxxxx>
> >>
> >> Provide a nand_cleanup() function to free all nand related resources
> >> without unregistering the mtd device.
> >> This should allow drivers to call mtd_device_unregister() and handle
> >> its return value and still being able to cleanup all nand related
> >> resources.
> >>
> >
> > Can you check this version?
>
> looks good to me.
> I'll incooperate the change in v3 (AFAIR this change will break the last
> patch of the series).

I applied the patch to my nand/next branch [1] (which means it's queued
for 4.9). Rebase your work on top of this branch and you should be good.

Thanks,

Boris

[1]https://github.com/linux-nand/linux/commits/nand/next