freebsd-dev/sys/dev/sdhci
Marius Strobl 78f8baa866 Fix a bug introduced in r327339; at the point in time re-tuning is
executed, the interrupt aggregation code might have disabled the
SDHCI_INT_DMA_END and/or SDHCI_INT_RESPONSE bits in slot->intmask
and the SDHCI_SIGNAL_ENABLE register respectively. So when restoring
the interrupt masks based on the previous contents of slot->intmask
in sdhci_exec_tuning(), ensure that the SDHCI_INT_ENABLE register
doesn't lose these two bits.
While at it and in the spirit of r327339, let sdhci_tuning_intmask()
set the tuning error and re-tuning interrupt bits based on the
SDHCI_TUNING_ENABLED rather than the SDHCI_TUNING_SUPPORTED flag
being set, i. e. only when (re-)tuning is actually used. Currently,
this changes makes no net difference, though.
2018-01-13 16:21:13 +00:00
..
fsl_sdhci.c Actually release resources in detach() rather than just returning EBUSY. 2017-10-27 17:21:43 +00:00
sdhci_acpi.c - Check the slot type capability, set SDHCI_SLOT_{EMBEDDED,NON_REMOVABLE} 2017-07-26 22:04:23 +00:00
sdhci_fdt_gpio.c Release all previously allocated resources. 2017-03-08 14:52:03 +00:00
sdhci_fdt_gpio.h Add new helper routines for sdhci bridge drivers that use gpio pins for 2017-01-09 01:54:36 +00:00
sdhci_fdt.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
sdhci_if.m o Add support for eMMC HS200 and HS400 bus speed modes at 200 MHz to 2017-07-23 16:11:47 +00:00
sdhci_pci.c Probe Intel Denverton eMMC 5.0 controllers. 2017-12-28 22:03:08 +00:00
sdhci.c Fix a bug introduced in r327339; at the point in time re-tuning is 2018-01-13 16:21:13 +00:00
sdhci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00