From patchwork Wed Nov 12 05:49:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 5285461 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 815F7C11AC for ; Wed, 12 Nov 2014 05:49:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B274120120 for ; Wed, 12 Nov 2014 05:49:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F03F200EC for ; Wed, 12 Nov 2014 05:49:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751814AbaKLFtr (ORCPT ); Wed, 12 Nov 2014 00:49:47 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:31333 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbaKLFtq (ORCPT ); Wed, 12 Nov 2014 00:49:46 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEW00DP7W6VPH30@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Wed, 12 Nov 2014 14:49:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.115]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 71.8E.19034.7F4F2645; Wed, 12 Nov 2014 14:49:43 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-de-5462f4f77a0a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D4.CF.20081.7F4F2645; Wed, 12 Nov 2014 14:49:43 +0900 (KST) Received: from localhost.localdomain ([10.252.81.186]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEW003VOW6VYJQ1@mmp2.samsung.com>; Wed, 12 Nov 2014 14:49:43 +0900 (KST) From: Jaehoon Chung To: linux-mmc Cc: Chris Ball , Ulf Hansson , tgih.jun@samsung.com, Jaehoon Chung Subject: [PATCHv2] mmc: dw_mmc: add the message for deprecating supports-highspeed Date: Wed, 12 Nov 2014 14:49:42 +0900 Message-id: <1415771382-30831-1-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsWyRsSkWPf7l6QQg6UrTCwmXN7OaHHjVxur xZH//YwWH+5fZLY4vjbcgdXjzrU9bB43Xi1k8ujbsorR4/MmuQCWKC6blNSczLLUIn27BK6M 61POsxVM5qhY/+wGUwPjW7YuRk4OCQETiZ37ZjBC2GISF+6tB4pzcQgJLGWUmHeokxmm6NKh 1awQiemMEpOnXYJy2pgknt37DTaKTUBHYvu340wgtoiApkTn9pVgo5gF2hklunrOs4IkhAVC JK6v/gPWwCKgKrF11jp2EJtXwE3i2a7HQOs4gNYpSMyZZAPSKyHwmk1i6+JVTBD1AhLfJh9i gaiRldh0AOo6SYmDK26wTGAUXMDIsIpRNLUguaA4Kb3IVK84Mbe4NC9dLzk/dxMjMDBP/3s2 cQfj/QPWhxgFOBiVeHgzNieFCLEmlhVX5h5iNAXaMJFZSjQ5Hxj+eSXxhsZmRhamJqbGRuaW ZkrivDrSP4OFBNITS1KzU1MLUovii0pzUosPMTJxcEo1MBbnMISdPH+57591lUXkoZxdkfl3 FOPPMmu8utMltc/T3UdgmmOKvEz/l23ya5YXeplEPpT9ksT1Zd6UHZvfvjuyWDuX8Uz5Bwmh r8u8C2Tj025+ShP5PIcppPnzyZjlJZe6nootCy65eeLM/cOLGQ7ZGe/fIbdiXZ7Up/AKHdeP m0uXvWpafUuJpTgj0VCLuag4EQCU02+gRwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVy+t9jQd3vX5JCDBZe1rWYcHk7o8WNX22s Fkf+9zNafLh/kdni+NpwB1aPO9f2sHnceLWQyaNvyypGj8+b5AJYohoYbTJSE1NSixRS85Lz UzLz0m2VvIPjneNNzQwMdQ0tLcyVFPISc1NtlVx8AnTdMnOA9ioplCXmlAKFAhKLi5X07TBN CA1x07WAaYzQ9Q0JgusxMkADCWsYM65POc9WMJmjYv2zG0wNjG/Zuhg5OSQETCQuHVrNCmGL SVy4tx4ozsUhJDCdUWLytEusEE4bk8Sze7/BOtgEdCS2fzvOBGKLCGhKdG5fCdbBLNDOKNHV cx5slLBAiMT11X/AGlgEVCW2zlrHDmLzCrhJPNv1mLmLkQNonYLEnEk2Exi5FzAyrGIUTS1I LihOSs811CtOzC0uzUvXS87P3cQIDvtnUjsYVzZYHGIU4GBU4uFNXJMUIsSaWFZcmXuIUYKD WUmE1+kjUIg3JbGyKrUoP76oNCe1+BCjKdDyicxSosn5wJjMK4k3NDYxM7I0Mje0MDI2VxLn PdBqHSgkkJ5YkpqdmlqQWgTTx8TBKdXAWGbFHG++b4sLK5O/5ssd263dGP6X7pn8V9Mqqmrd ddG9Za9ez8li/G6jeO0yg2vHlA39Jyp0Lm29ZbZ34QV38YjFl+a9UBeIvf/xSreCc9JGw6LN O5wnf3h2Iq+jpD572odPlaUs/zYfeiv7oviD//PHzceDpt1Z932u3uuXVxhZfAxfzp+5LEWJ pTgj0VCLuag4EQBJqjZRkQIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Recommend to use "mmc-cap-highspeed" or "sd-cap-highspeed" instead of "supports-highspeed". Although "supports-highspeed" supports, devloper can use "mmc-cap-highspeed" or "sd-cap-highspeed" through this message. Signed-off-by: Jaehoon Chung --- Changelog V2: - Fixed Checkpatch warning drivers/mmc/host/dw_mmc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index bb46b1b..d75dc26 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2434,8 +2434,11 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) return ERR_PTR(ret); } - if (of_find_property(np, "supports-highspeed", NULL)) + if (of_find_property(np, "supports-highspeed", NULL)) { + dev_warn(dev, "supports-highspeed is deprecated. " \ + "Use cap-mmc-highspeed or cap-sd-highspeed.\n"); pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; + } return pdata; }