Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932201AbbFIHcY (ORCPT ); Tue, 9 Jun 2015 03:32:24 -0400 Received: from mail-bn1on0094.outbound.protection.outlook.com ([157.56.110.94]:55712 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753328AbbFIHcN (ORCPT ); Tue, 9 Jun 2015 03:32:13 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; apm.com; dkim=none (message not signed) header.d=none; From: Suneel Garapati To: , CC: Ulf Hansson , , , Adrian Hunter , Aisheng Dong , Haibo Chen , Tim Kryger , Shawn Guo , Yi Sun , "Rafael J. Wysocki" , , Suneel Garapati Subject: [PATCH 2/2] drivers: mmc: add quirks for broken clock base Date: Tue, 9 Jun 2015 13:01:51 +0530 Message-ID: <1433835111-32522-3-git-send-email-suneel.garapati@xilinx.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1433835111-32522-1-git-send-email-suneel.garapati@xilinx.com> References: <1433835111-32522-1-git-send-email-suneel.garapati@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21602.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD003;1:pS4iH/zSy+QtCApc9RnMMDlQqYbus6HZV8go4BGVjnIH4cpWKJTGxJ4gYSgQ70gU2bZ3stM+II4gKlEsrpoDd+59omdVn/AcGMxrlT4RiQDN68mvCau3FZqWyzTmDRNv827Y3d0ENugCGbxqEZZkklj9QEkjJCgUiFzrgX8Gz3/2bMXaJagOAjCj6XokdVF+6EazOaORmjbreakwgLN0+nEf5VsSZxvUqZ4b+BPiKRhOhTh+7nxyRMNSP5SjZL/geSmx2Xf82CC6PRhmGBMyngrVmuumGGZfgaduwAoUnFPptxQM9ejC7v7syDAZQodeiVnZpU6/dEgqJfAE4EQtRg== X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(189002)(77096005)(46102003)(2950100001)(36756003)(86362001)(575784001)(106466001)(6806004)(50986999)(19580405001)(19580395003)(76176999)(50226001)(87936001)(92566002)(229853001)(63266004)(33646002)(107886002)(5001960100002)(47776003)(189998001)(5001770100001)(50466002)(48376002)(62966003)(36386004)(77156002)(7059030)(107986001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1BFFO11HUB052;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB052;2:AiF9wJA4wzQl6KPTSphvhHnF/llsoU6K1zFFOIN9w5LsmGWNyrvZc0xOQoWO9b3q;2:62Fvvq2mjf83Bh43ErvwGR3Obxn/bSsdFhtxx5lVnZ34P8NG+NOubBSUpJ+oU9G76L2g5/ETnm9V3i21RvsYz6uad46fzDpZN6S+l4eZe3IY0xIyCvwNjGy6A4dfUctGEDqrvVEhF9oCyDP4K+GgNUt+KZ+dhIBaztwJV0VcS1fP4sNjDrhy9ZbdXimf4/HS4HjFE6Yf/WYiydLeX9N+Sk0kemnLHzUuJeAADsjzvdKMwyfmh/dnteV4Jer0QPqi;6:+0hhGYoyE/Wdf/+Z3rFylcrCGeXvWgEDusOeZn+QAYeVLRKDH8Zmv5+jV0KnzUjLNtMUjQeqcZ/dI8SQbwBL6CB5PQr37v7Km3Ntirkt1Mfq8AeitpFx8Mc/2Svktr9nZHGOR9e3yCu63XaIhGxdf5Lcqd1hB86UvALWVNYufocGz6hAPUjjvhqaqZqwgAuggezBGCdiIdjvMeN0/Mdfy7Nk3vq8p9piBw3CDjtVhahpb/VAPKAdn795txqNAjyaXT+uULPYuRT0yJZHX16MJK9BqAvZlhAMddMo2m27Lqx7WIG41KX5sziVo4Yg9UsT8QfWKpkl+H8FlwJQtl5f08k7TpKL3reIrHyZXIlmU2nAPC4SaSxMUkiRzYc13hE0W2J71oVl1fnTJC1yJvEENNynjC6QS4Pove3r/rZ1ys1QqWYncOdrXyktGYwQ9yZg0xzsmPRXDPUAurQiH9k0m0jwaP5vO8sTuKzk8CXSHQvGLSq/wnlHBc4mGpEXMyQo X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB052; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BN1BFFO11HUB052;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB052; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB052;3:p6AeUuYBd9Tx1bAuXFy94gEwhglHyQf0fkbhGv1IZVIckRXK7nRrUpw9ba/gIHSG3lwmxsCM06fu3nVD877YVh9bYZQfITagJeEpupq1DkmUucM3QbcpfN7ex5GNOs2n+U/qkpYDX0WxqC2xpPd2pHCN7iNprZvLPhjdK8Xfrs7b/RBesoYGDDnqTRvCDGCsyxe4bkeWwIYv+ctksUh8/YvV8ohTFNXe7qmx43ZseiMx7p9RHCGtsxSgZjZjdlsmADguxD7tmYFsMCXhZlSP42ohFpM6g3b3BGuzLsMJPywU3G7qBuOaswXuPjwZtLMj X-Forefront-PRVS: 06022AA85F X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB052;9:01tQxEdOtEm+XoRr3ulgkkuiwkfQt0YbBHcbF4RGG4f85dzwXNUrUrvzgEspwTqfWQo3q/6YN0Kv2DVpbxx72DFlbg2SaaoYsRSuB4EezF/9zfcsoZZxEO/vD+GCt6Qu4Q1jAN6z9D6uoEAjr6XscTFis08vuhs5UkOI0EvZDd9S2OKYo6/oS9bkfJDcjgbaC2ilJKynQnE6gUQO9zCXyKr740Hzv6YhEulgJIND+8b81JQLpVnjv49Si+B8lWClHFYR/ZdcXMmQcvRkzyndv0CXBoqRkXS1t37mQtJibqR8GxLl42pW87GyxshjLZkhPCm5mWehGs3G0npDLabSo7+iO4yZEAt5uFDHe40yOdJtHmdOjPuXsGH5hiW3pptBEDUEjnzyS/jIS/dNINDWvGk1gU2XiZHKx69A1UfDbIm4aAQjLD2FA3a72nPSd5QFaT0y1TElXV7WbMcR6XjMhF1N6mdRP4BFEESwoNgtmZjQs5h6W1auNSxiqqboA05kIMO+kDeXx9S8b6q4iGAHoVFl+22tEypJFPN2hXU6OPpnFHZ/Rn2VCBaGf4BrOzIqgphrkEvor/5Ejredjf4C6XPZGB5UDm0GrZCWl2V82vueW/Up97mE4wekmpcaPUmF4zOjmUWOXMZoEOmrTNv3deGfZZfnx6tax8qg3lmxczZuF3HIUQVtiqu3VoGj7/xy0udS9hu9qg5EO+l3JIbLmZDVs3UbGxbVdtqMKqx+FFdQ1Jaewo5be+88vh63oSnxy9IcVB0Ry+gYtwTp30mel5/9UX96iEPQ+2fqVKLE7DWCs5X8riUstjAffe2Eo/xUEK+J/ch2GmKWzVJlpk5HIMEO/5mVt7DTVJAWhZvt47/judVGhb4yEvTE+fHUqfJM4S3lzm57UXa6qzppmYvXIZzL3bEmSKQmnyqyMz+koqw= X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB052;3:57qkPyJV6L+ftRs0eQal/EN4P3Ilv9TbFgGk5A48nN+zygPxdQPcMv8Aqmv9daQrIfKKAe451nScVC2M5vOw08kHs/6yIFeJa63ioucrkvYfbUJxDWGzV3TJonihry+GK7/J+Lvuzi7qGCWT6iYPvQ==;10:jC7ShIs/NIxUBwPj5mpQ95i/0NbG1ST6XqxKpn23AhzFJRRRx+g+LN73gMQk/aPjuw8z7qGqQsP7DGPcqKwK1n1vUbizNHBqRGNVXJC3OQ0= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2015 07:32:11.3541 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1BFFO11HUB052 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 29 adding SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,SDHCI_QUIRK2_PRESET_VALUE_BROKEN flags for arasan sdhc. Signed-off-by: Suneel Garapati --- drivers/mmc/host/sdhci-of-arasan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index 21c0c08..ef5a7d2 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -63,6 +63,9 @@ static struct sdhci_ops sdhci_arasan_ops = { static struct sdhci_pltfm_data sdhci_arasan_pdata = { .ops = &sdhci_arasan_ops, + .quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN, + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN | + SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN, }; #ifdef CONFIG_PM_SLEEP -- 2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/