From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Subject: Re: [PATCH 35/38] mmc: dw_mmc: call mmc_of_parse to fill in common options Date: Thu, 24 Apr 2014 09:31:54 +0900 Message-ID: <53585B7A.3@samsung.com> References: <20140423185534.GA26756@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:61499 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbaDXAbr (ORCPT ); Wed, 23 Apr 2014 20:31:47 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4I00DU4ESYW350@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Thu, 24 Apr 2014 09:31:46 +0900 (KST) In-reply-to: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Russell King , Chris Ball , linux-mmc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Seungwon Jeon , Jaehoon Chung , Ulf Hansson Dear, Russell. I didn't know which version you have checked. But I have known that mmc_of_parse() have already included at mmc-next repository. commit 6ca5c60605dde3420ce7fee6f93ec4a7c7924848 Author: Jaehoon Chung Date: Mon Mar 3 11:36:41 2014 +0900 mmc: dw_mmc: use the mmc_of_parse() instead of local parser mmc_of_parse() have been already parsed the general capability. Didn't need to use the local parser. Signed-off-by: Jaehoon Chung Acked-by: Seungwon Jeon Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball Could you check it, plz? Best Regards, Jaehoon Chung On 04/24/2014 04:09 AM, Russell King wrote: > From: Olof Johansson > > The shared of parse function fills in common options for capabilities, > etc, but it needs to be called from each driver that wants to make use > of it. dw_mmc was missing the call. > > Signed-off-by: Olof Johansson > Signed-off-by: Russell King > --- > drivers/mmc/host/dw_mmc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c > index cced599d5aeb..a2c12ebb376e 100644 > --- a/drivers/mmc/host/dw_mmc.c > +++ b/drivers/mmc/host/dw_mmc.c > @@ -2140,6 +2140,8 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) > if (!mmc) > return -ENOMEM; > > + mmc_of_parse(mmc); > + > slot = mmc_priv(mmc); > slot->id = id; > slot->mmc = mmc; >