summaryrefslogtreecommitdiff
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-03-08 17:52:53 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-03-15 16:43:23 +0300
commitcb1214d27a3ef8817a7a208d546aa9f947bf5f7d (patch)
treed96d6d7e1128b7a99f6f20a57b6fc5c45751aa42 /drivers/mmc/core
parentd81819419b2be4eee6643681ce0366856a772ba9 (diff)
downloadlinux-cb1214d27a3ef8817a7a208d546aa9f947bf5f7d.tar.xz
mmc: sunxi: Set our device drvdata earlier
As soon as the pm_runtime_enable hook is called, our runtime_suspend and runtime_resume hooks can be called as well. However, we only set the device drvdata that we will use after we have registered into the MMC core. Move that earlier so that we don't have a race that could lead to a crash. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions