Re: [PATCH] mtdpart: propagate _get/put_device()

2016-07-04 Thread Boris Brezillon
On Wed, 29 Jun 2016 22:14:23 +0200 Richard Weinberger wrote: > 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 propergating _get/put_device() down. > > Signed-off-by

Re: [PATCH] mtdpart: propagate _get/put_device()

2016-07-04 Thread Richard Weinberger
Boris, Am 04.07.2016 um 11:35 schrieb Boris Brezillon: > On Wed, 29 Jun 2016 22:14:23 +0200 > Richard Weinberger wrote: > >> 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. >> F

[PATCH] mtdpart: propagate _get/put_device()

2016-06-29 Thread Richard Weinberger
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 propergating _get/put_device() down. Signed-off-by: Richard Weinberger --- Hi! I've found this issue while heavily reworkin