From patchwork Fri May 15 21:14:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 6416371 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DB520C0432 for ; Fri, 15 May 2015 21:15:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1AD0620527 for ; Fri, 15 May 2015 21:15:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F27020528 for ; Fri, 15 May 2015 21:15:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946163AbbEOVPH (ORCPT ); Fri, 15 May 2015 17:15:07 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:34889 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422770AbbEOVPE (ORCPT ); Fri, 15 May 2015 17:15:04 -0400 Received: by wgkx2 with SMTP id x2so6887194wgk.2; Fri, 15 May 2015 14:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=N1WGD4lenCio60two7yg2YT0BI6GPbdqUrS5jOgGvcE=; b=SUQHp2OHMoieb8ugnoRiwcbHv2j8VtHIM8vb3mNHvUWiteuzPmzuFRrUE3tGoO38gL OPVNoveGwoqgRlLtwJZveXTkWug76u1y0wqIzaVwDcReKTSLDvu/sguVjzdoP6ARzij+ Ks5TP1oUY37rcEtT9+C+S3b5a5zrxKKoSXRwGtVo+VFqyXlufHZmrdgEHTlgGVdyZlwH lQzCMZXgBVLgVR9GT8EywH6zudg2bVpBEihZhz3/FNsRuikk4wcZV7wzWTUXkjSoE36E b9Nh1RqoEpa3fhCnmo3itzmkjQS32DralkqqvHnrwX5Qxct9A6Eev7RjLZpZzZQoH51o GCEw== X-Received: by 10.180.187.170 with SMTP id ft10mr853327wic.75.1431724502769; Fri, 15 May 2015 14:15:02 -0700 (PDT) Received: from Pali-Latitude.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPSA id x10sm4242980wjf.45.2015.05.15.14.15.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 14:15:02 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Ulf Hansson Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT Date: Fri, 15 May 2015 23:14:48 +0200 Message-Id: <1431724489-32359-2-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1431724489-32359-1-git-send-email-pali.rohar@gmail.com> References: <1431724489-32359-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Pali Rohár --- drivers/mmc/host/omap_hsmmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 9df2b68..f6073dd 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1901,6 +1901,8 @@ static struct omap_hsmmc_platform_data *of_get_hsmmc_pdata(struct device *dev) if (of_find_property(np, "ti,needs-special-hs-handling", NULL)) pdata->features |= HSMMC_HAS_HSPE_SUPPORT; + of_property_read_string(np, "slot-name", &pdata->name); + return pdata; } #else