mmc: sdhci-pci-gli: Add a switch to enable/disable CQHCI support
authorRenius Chen <reniuschengl@gmail.com>
Wed, 6 Jan 2021 08:53:32 +0000 (16:53 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:44 +0000 (11:54 +0100)
commit15f908fafc0e43899e92528e044511a7b3d4aeb3
treed92fe8dc4b0d0a7ced9f7330ebc6b4c5d4077a84
parent8b2805647acf3da1f0a2e5c37a103c6853052730
mmc: sdhci-pci-gli: Add a switch to enable/disable CQHCI support

Add a vendor-specific bit named GLI_9763E_MB_ERP_ON at the bit7 of
register 888h to decide whether to enhance random R/W performance
of GL9763E. CQHCI support will be enabled if and only if the bit is
set and the GLI_9763E_MB_CMQ_OFF bit is not set.

Signed-off-by: Renius Chen <reniuschengl@gmail.com>
Link: https://lore.kernel.org/r/20210106085332.5494-1-reniuschengl@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-gli.c