From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754116AbcI1UQZ (ORCPT ); Wed, 28 Sep 2016 16:16:25 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36521 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbcI1UQR (ORCPT ); Wed, 28 Sep 2016 16:16:17 -0400 Date: Wed, 28 Sep 2016 13:16:11 -0700 From: Brian Norris To: Boris Brezillon Cc: Daniel Walter , linux-mtd@lists.infradead.org, Richard Weinberger , dwmw2@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/46] mtdpart: Propagate _get/put_device() Message-ID: <20160928201611.GB142302@google.com> References: <984fd8eb53b742bd46e7b42605ae4e0ceaf5ba08.1474450295.git.dwalter@sigma-star.at> <20160921121531.7786ee9b@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160921121531.7786ee9b@bbrezillon> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 21, 2016 at 12:15:31PM +0200, Boris Brezillon wrote: > On Wed, 21 Sep 2016 11:43:56 +0200 > Daniel Walter wrote: > > > From: 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 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