Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1135452ybl; Tue, 3 Dec 2019 02:16:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxVg5bIHctm+DJlUeo/j5otN0JZ9aKCrl3nyji0LGUPYtybP56rJeKOWpegIAM9LbiTnzSH X-Received: by 2002:aca:b38b:: with SMTP id c133mr2833911oif.2.1575368194502; Tue, 03 Dec 2019 02:16:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575368194; cv=none; d=google.com; s=arc-20160816; b=09sXnBxo2GYwaJFFACH3/yTslRqm9xm2mhPYOFl3ZH13tUcOPfOWV0JfUT+hrzvoLL UoH5YdA4lfhaQMsUJUt9MA/z+J2KLofVXxbWgEZxfnteJnhwH1drYiLTlKgFrAlhpC5a P1cMssEpuZIdygUUNUmubeyK0OYgK0Md7VYmDW9rBe+ibJmIxipf5fzvrUPyqGDneI/3 v7XlESWIwITdgZ1yKjtoxiqEmQhtK0pLwzmuAyGu2Jvpz2NCsGUXKisun8Vs7kWEum56 TUwF4DDWX6TfKe9f92T6VAcofCZEu9r5yfDhAP2yqP4hc7bHbhsxONcnmmzCB3a3uVcM jp6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature; bh=/8qJaL6cIhl0fjI1TGqv4uTX3sHJK7Sgw22wJkvMRuk=; b=Y7LY5DOJQkRMTtiID4afzCoYmFk59wUEGVyfosEVLwsbFIDve+VdtQXztbeM6w9JWF rJym4QkWtCouAm1/CwigAB+WjaTY7xwvDCrgrcTGVmHf36wltFSaqrLpNJZKUyGZFiYF 6pE6xFa8bMECtATS2Zj52CceV8oZmh7p3r5RhDuVHrCbXocPqoxAWJuOodSYy7OLcv/f GYrbwgN91Xn42K6Jyf0qXC6kj/B9iv5daVjPccJ5ooTF8FKlg9AYCVkAnsFSXY1lcs0x vTI6CYJQ++7c4Lg4IPQwkmRYbdjVt7Aw5C/BZSAVIVE3qPHf7vzVg59t1NdwQGnxa+cw g1+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Eyc8Ar0s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f190si1096584oig.229.2019.12.03.02.16.22; Tue, 03 Dec 2019 02:16:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Eyc8Ar0s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726480AbfLCKPo (ORCPT + 99 others); Tue, 3 Dec 2019 05:15:44 -0500 Received: from mail-lj1-f172.google.com ([209.85.208.172]:37893 "EHLO mail-lj1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbfLCKPm (ORCPT ); Tue, 3 Dec 2019 05:15:42 -0500 Received: by mail-lj1-f172.google.com with SMTP id k8so3121362ljh.5 for ; Tue, 03 Dec 2019 02:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=/8qJaL6cIhl0fjI1TGqv4uTX3sHJK7Sgw22wJkvMRuk=; b=Eyc8Ar0sSoYw+XIzyVmFTht1fy07eB21TPRu1y40rfzjyiLtvaYE6Tc3wWSu27DiVP mVAAFUaaPRZY4A+7+VEBK5LNrx42udMVjtT0JSEYuDhnX93tH3J0Gs6ujuWZSJBf45TA oozKyQv+qo7jUNuFsiHs0DqC6HPtG6AYjqO+Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=/8qJaL6cIhl0fjI1TGqv4uTX3sHJK7Sgw22wJkvMRuk=; b=lrJXkx5wYe20KfkNZpL3MLvYWwuLDnF1sT+Ky+F1MnWje2O4oUJINeUDw94GNfa5E2 aezFAfFkxI1auCC2LWAD7FWOAmLI43pqAgXUEYm5Oco7dP92OnaW7fVeoF4jpub96R4o LBCpf8y4kBCRTON6V/KK9URgId+D/YjQtdCj+r7TGjtKqHPagkKdQfap5kGhUfLDDRNB S8sme1pVphJ1ahKC1mj7DSfkrxFT0ChiVZT/yG0xKAWMN55u8Xyga0xr6MY6480AHiqQ gB8oyasCNbJTXU01Z70QoU/qlzfhzQ7FPrh/YOYoTuRTEfUfP8bVLoBDGDDFDTHLisel W/ow== X-Gm-Message-State: APjAAAXwoJYcHMScWboYJ3Uo2U+In9Cjl+xPmF+VWND8PkrlSCzgFXK0 nJjUxREtMIsaqIL60cRFyExTeR2YtnoVMEf6 X-Received: by 2002:a2e:81c1:: with SMTP id s1mr2023877ljg.83.1575368139542; Tue, 03 Dec 2019 02:15:39 -0800 (PST) Received: from [172.16.11.28] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id l3sm1172943lfh.72.2019.12.03.02.15.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Dec 2019 02:15:38 -0800 (PST) To: Yinbo Zhu Cc: Adrian Hunter , Ulf Hansson , LKML From: Rasmus Villemoes Subject: fsl,p2020-esdhc sdhci quirks Message-ID: <8afd0f53-eba8-e000-d8cc-b464e65850c3@rasmusvillemoes.dk> Date: Tue, 3 Dec 2019 11:15:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Commits 05cb6b2a66fa - mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support a46e42712596 - mmc: sdhci-of-esdhc: add erratum eSDHC5 support seem a bit odd, in that they set bits from the SDHCI_* namespace in the ->quirks2 member: host->quirks2 |= SDHCI_QUIRK_RESET_AFTER_REQUEST; host->quirks2 |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; These are bits 10 and 12, so they are also known as SDHCI_QUIRK2_CLEAR_TRANSFERMODE_REG_BEFORE_CMD and SDHCI_QUIRK2_TUNING_WORK_AROUND. So if the fixes are correct, one should use those names on the right-hand side, but it seems just as likely (I can't figure that out from the commit messages) that the left-hand sides should have been host->quirks ? Rasmus