linux_dsm_epyc7002/drivers/mmc
Andreas Fenkart f7f0f03506 mmc: omap_hsmmc: call omap_hsmmc_set_power directly
If no pdata.set_power was set by the platform code, the driver
was updating pdata with its own fallback function. This is a no-no
since pdata shall be read-only.
This patch pushes the check 'pdata->set_power != NULL' down into
the fallback functions. If pdata.set_power is really set, it calls them
and exits, otherwise the fallback code is used.

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-08-17 11:32:45 +02:00
..
card mmc: block: don't use parameter prefix if built as module 2015-08-17 11:32:42 +02:00
core mmc: core: Optimize case for exactly one erase-group budget 2015-08-17 11:32:39 +02:00
host mmc: omap_hsmmc: call omap_hsmmc_set_power directly 2015-08-17 11:32:45 +02:00
Kconfig
Makefile