Re: [PATCH v2 01/46] mtdpart: Propagate _get/put_device()

From: Brian Norris
Date: Wed Sep 28 2016 - 16:16:43 EST


On Wed, Sep 21, 2016 at 12:15:31PM +0200, Boris Brezillon wrote:
> On Wed, 21 Sep 2016 11:43:56 +0200
> Daniel Walter <dwalter@xxxxxxxxxxxxx> wrote:
>
> > From: Richard Weinberger <richard@xxxxxx>
> >
> > If the master device has callbacks for _get/put_device()
> > and this MTD has slaves a get_mtd_device() call on paritions
> > will never issue the registered callbacks.
> > Fix this by propagating _get/put_device() down.
>
> Brian, can we have this one queued for 4.9? I can't take it in my tree
> if you want, but it's probably better if it's in the mtd tree.

Applied this patch to l2-mtd.git