summaryrefslogtreecommitdiffstats
path: root/firmware/adaptec
diff options
context:
space:
mode:
authorAndreas Fenkart <afenkart@gmail.com>2015-07-07 20:38:43 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-08-17 11:32:45 +0200
commitf7f0f03506d00fc2939a8625ed141c2dda568fad (patch)
tree4d5a7a0f9bdaa40093567470559a881ae1cfb090 /firmware/adaptec
parentDocumentation: dt: update ti,am33xx-hsmmc swakeup workaround (diff)
downloadlinux-f7f0f03506d00fc2939a8625ed141c2dda568fad.tar.xz
linux-f7f0f03506d00fc2939a8625ed141c2dda568fad.zip
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>
Diffstat (limited to 'firmware/adaptec')
0 files changed, 0 insertions, 0 deletions