summaryrefslogtreecommitdiff
path: root/scripts/clang-tools
diff options
context:
space:
mode:
authorGeorgii Kruglov <georgy.kruglov@yandex.ru>2023-03-21 23:37:15 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-03-24 16:48:01 +0100
commit0dd8316037a2a6d85b2be208bef9991de7b42170 (patch)
tree9b4740b955f10325c593783161306eae42c637d0 /scripts/clang-tools
parentf6ca8f906bc3073840d832484865757392be2819 (diff)
downloadlinux-0dd8316037a2a6d85b2be208bef9991de7b42170.tar.gz
linux-0dd8316037a2a6d85b2be208bef9991de7b42170.tar.bz2
linux-0dd8316037a2a6d85b2be208bef9991de7b42170.zip
mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
If spec_reg is equal to 'SDHCI_PRESENT_STATE', esdhc_readl_fixup() fixes up register value and returns it immediately. As a result, the further block (spec_reg == SDHCI_PRESENT_STATE) &&(esdhc->quirk_ignore_data_inhibit == true), is never executed. The patch merges the second block into the first one. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 1f1929f3f2fa ("mmc: sdhci-of-esdhc: add quirk to ignore command inhibit for data") Signed-off-by: Georgii Kruglov <georgy.kruglov@yandex.ru> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20230321203715.3975-1-georgy.kruglov@yandex.ru Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/clang-tools')
0 files changed, 0 insertions, 0 deletions