From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753847AbbGFJa2 (ORCPT ); Mon, 6 Jul 2015 05:30:28 -0400 Received: from mga11.intel.com ([192.55.52.93]:60129 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbbGFJaZ (ORCPT ); Mon, 6 Jul 2015 05:30:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,414,1432623600"; d="scan'208";a="519484063" Message-ID: <1436175018.8279.4.camel@linux.intel.com> Subject: Re: [PATCH v4 6/8] mfd: make mfd_remove_devices() iterate in reverse order From: Andy Shevchenko To: Geert Uytterhoeven Cc: Lee Jones , "Rafael J . Wysocki" , ACPI Devel Maling List , Linux PM list , Greg Kroah-Hartman , Vinod Koul , Andrew Morton , Mika Westerberg , "linux-kernel@vger.kernel.org" , dmaengine@vger.kernel.org, Heikki Krogerus , Jarkko Nikula , "Wysocki, Rafael J" , Mike Turquette Date: Mon, 06 Jul 2015 12:30:18 +0300 In-Reply-To: References: <1434362256-239992-1-git-send-email-andriy.shevchenko@linux.intel.com> <1434362256-239992-7-git-send-email-andriy.shevchenko@linux.intel.com> <20150624113144.GL15013@x1> <1436173803.8279.1.camel@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2015-07-06 at 11:24 +0200, Geert Uytterhoeven wrote: > On Mon, Jul 6, 2015 at 11:10 AM, Andy Shevchenko > wrote: > > On Wed, 2015-06-24 at 12:31 +0100, Lee Jones wrote: > > > On Mon, 15 Jun 2015, Andy Shevchenko wrote: > > > > > > > The newly introduced device_for_each_child_reverse() would be > > > > used > > > > when MFD > > > > core removes the device. > > > > > > > > After this patch applied the devices will be removed in a > > > > reversed > > > > order. This > > > > behaviour is useful when devices have implicit dependency on > > > > order, > > > > i.e. > > > > consider MFD device with serial bus controller, such as SPI, > > > > and > > > > DMA IP that is > > > > attached to serial bus controller: before remove the DMA driver > > > > we > > > > have to be > > > > ensured that no DMA transfers is ongoing and the requested > > > > channel > > > > are unused. > > > > > > > > Signed-off-by: Andy Shevchenko < > > > > andriy.shevchenko@linux.intel.com> > > > > --- > > > > drivers/mfd/mfd-core.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > Applied, thanks. > > > > Hmm… Seems kinda mistake. I can't see this applied (and required > > previous patches 4 and 5) to any of your branch neither in > > (today's) > > linux-next. > > New stuff applied after v4.1 couldn't show up in -next before v4.2 > -rc1 was > released (which just happened last night)? Might be, I would like to resend new version of my series and that's why I would like to have a branch to check what is already applied. So, if I can't see it does it mean it is brewed in the private repository? -- Andy Shevchenko Intel Finland Oy