From patchwork Wed Aug 12 06:59:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Barry Song <21cnbao@gmail.com> X-Patchwork-Id: 6996061 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 86934C05AC for ; Wed, 12 Aug 2015 06:52:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFD6A202B4 for ; Wed, 12 Aug 2015 06:52:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F02F0206EE for ; Wed, 12 Aug 2015 06:52:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753755AbbHLGwy (ORCPT ); Wed, 12 Aug 2015 02:52:54 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34528 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752458AbbHLGwx (ORCPT ); Wed, 12 Aug 2015 02:52:53 -0400 Received: by pdbfa8 with SMTP id fa8so4115736pdb.1 for ; Tue, 11 Aug 2015 23:52:53 -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; bh=qy4QclFx67IgBE5fgla9Ib9YOKi8H6DUcjQs8ZkJzAo=; b=nKGhadJbu5mnzoNwXDY/H1AMoii4/JmNGvpNrULUlaC8cWvmsAnydC7iyKhEsFr63Y R2v3j+tjZSJVWoQM5T5QF6b0HfJrWnErqKkSgzHNsdbIzLyRPWEcVdufDd9mLOyR3Ass 68fdW8Uw1QdlEXJyV0imuBIIquXREy13DJS9fKbZUNt20MnLKw4JxQl98nF+RPUQCQzh G9tezYDwqgOlC3L++r0ghu2JR4B/2vd/tCqKjkPFH4zl5jfVQAr8JZGTZCYktat+0/j0 G1ZRfyTmYrGwmXiFfmXU8IQ5r7UhGA9XqMqanHr5G/XAaG9q5kLZn1qtUygp3pCNupo6 XqLg== X-Received: by 10.70.98.163 with SMTP id ej3mr57067443pdb.61.1439362373328; Tue, 11 Aug 2015 23:52:53 -0700 (PDT) Received: from ip-172-31-29-47.ap-northeast-1.compute.internal (ec2-54-65-106-64.ap-northeast-1.compute.amazonaws.com. [54.65.106.64]) by smtp.gmail.com with ESMTPSA id gh5sm5062144pbc.87.2015.08.11.23.52.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Aug 2015 23:52:51 -0700 (PDT) From: Barry Song <21cnbao@gmail.com> To: ulf.hansson@linaro.org, linux-mmc@vger.kernel.org Cc: workgroup.linux@csr.com, Barry Song Subject: [PATCH] mmc: sirf: corrent quirk according to real chips Date: Wed, 12 Aug 2015 06:59:33 +0000 Message-Id: <1439362773-32515-1-git-send-email-21cnbao@gmail.com> X-Mailer: git-send-email 1.9.1 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, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Barry Song the current quirk set is for an old FPGA, and this patch corrects quirks according to real SoC. Signed-off-by: Barry Song --- drivers/mmc/host/sdhci-sirf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c index 0110bae..8842945 100644 --- a/drivers/mmc/host/sdhci-sirf.c +++ b/drivers/mmc/host/sdhci-sirf.c @@ -161,8 +161,8 @@ static struct sdhci_pltfm_data sdhci_sirf_pdata = { .quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL | SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN | - SDHCI_QUIRK_INVERTED_WRITE_PROTECT | - SDHCI_QUIRK_DELAY_AFTER_POWER, + SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS, + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, }; static int sdhci_sirf_probe(struct platform_device *pdev)