From patchwork Wed Sep 19 08:27:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ball X-Patchwork-Id: 1476241 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3F8A1DF238 for ; Wed, 19 Sep 2012 08:27:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750971Ab2ISI1U (ORCPT ); Wed, 19 Sep 2012 04:27:20 -0400 Received: from void.printf.net ([89.145.121.20]:56327 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838Ab2ISI1R (ORCPT ); Wed, 19 Sep 2012 04:27:17 -0400 Received: from 173-166-109-250-newengland.hfc.comcastbusiness.net ([173.166.109.250] helo=pullcord.laptop.org) by void.printf.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1TEFco-0008H5-W9; Wed, 19 Sep 2012 09:27:15 +0100 From: Chris Ball To: Haojian Zhuang Cc: linux-mmc@vger.kernel.org, Philip Rakity , Zhangfei Gao Subject: [PATCH] mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks References: <87mx0zzyin.fsf@octavius.laptop.org> <87d31sy548.fsf@octavius.laptop.org> Date: Wed, 19 Sep 2012 04:27:39 -0400 In-Reply-To: <87d31sy548.fsf@octavius.laptop.org> (Chris Ball's message of "Tue, 11 Sep 2012 11:02:47 -0400") Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux) MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org In particular, this is done to gain support for broken-cd and wp-inverted. Signed-off-by: Chris Ball Acked-by: Zhangfei Gao --- (A previously submitted patch of mine added broken-cd support to sdhci-pxav3 directly; I think it's a better idea to discard that patch and use this one instead.) drivers/mmc/host/sdhci-pxav3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 3a81cd6..78d7c42 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -296,6 +296,8 @@ static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) host->ops = &pxav3_sdhci_ops; + sdhci_get_of_property(pdev); + ret = sdhci_add_host(host); if (ret) { dev_err(&pdev->dev, "failed to add host\n");