Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757825Ab2FQSBX (ORCPT ); Sun, 17 Jun 2012 14:01:23 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:33743 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757708Ab2FQSBW (ORCPT ); Sun, 17 Jun 2012 14:01:22 -0400 MIME-Version: 1.0 In-Reply-To: <1339927893-8842-2-git-send-email-stigge@antcom.de> References: <1339927893-8842-1-git-send-email-stigge@antcom.de> <1339927893-8842-2-git-send-email-stigge@antcom.de> Date: Sun, 17 Jun 2012 20:01:21 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] mmc: mmci.c: Defer probe() in case of yet uninitialized GPIOs From: Linus Walleij To: Roland Stigge Cc: cjb@laptop.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, rmk+kernel@arm.linux.org.uk, ulf.hansson@stericsson.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, aletes.xgr@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 21 On Sun, Jun 17, 2012 at 12:11 PM, Roland Stigge wrote: > If the GPIOs used by the MMCI driver are not registered yet when the driver is > probe()d, they can't be used. This happens if the mmci driver is probed before > the respective GPIO controller (e.g. on the LPC32xx EA3250 board, the PCA9532 > GPIO controller would be initialized via DT after mmci). Therefore, we defer > mmci in this case. > > Signed-off-by: Roland Stigge Acked-by: Linus Walleij Pls put this into Russell's patch tracker. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/