mmc: sdhci-cadence: Support device specific init during probe
authorBrad Larson <blarson@amd.com>
Mon, 10 Apr 2023 18:45:23 +0000 (11:45 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Apr 2023 09:45:43 +0000 (11:45 +0200)
commite095b78ef2db903fefaf148ee14dcb92ebd1af87
tree363528516755cbddf65109e93eb5f09585bdbcc7
parentd3e32f8478912568cad7472db3980635bf8766e3
mmc: sdhci-cadence: Support device specific init during probe

Move struct sdhci_pltfm_data under new struct sdhci_cdns_drv_data.
Add an init() into sdhci_cdns_drv_data for platform specific device
initialization in the device probe which is not used for existing devices.

Signed-off-by: Brad Larson <blarson@amd.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230410184526.15990-13-blarson@amd.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-cadence.c