]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-pci: Let suspend/resume callbacks replace default callbacks
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 Mar 2017 17:50:51 +0000 (19:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:38 +0000 (21:41 +0200)
commit30cf2803b268f2bcce91fbaa19cee6d04b14bd86
tree9c6e9cd4f0656f1e8c879b42aaf7c99fc724d44a
parentb7813f0fe9535cd9536102b9ac663a669f9be131
mmc: sdhci-pci: Let suspend/resume callbacks replace default callbacks

The suspend / resume callbacks lack the flexibility to allow a device to
specify a different function entirely. Change them around so that device
functions are called directly and they in turn can call the default
implementations if needed.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com>
drivers/mmc/host/sdhci-pci-core.c
drivers/mmc/host/sdhci-pci-o2micro.c
drivers/mmc/host/sdhci-pci.h