MMC: meson: don't use priv host structure before we verify it
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 22 Aug 2016 08:52:25 +0000 (16:52 +0800)
committerKevin Hilman <khilman@baylibre.com>
Mon, 22 Aug 2016 12:47:55 +0000 (05:47 -0700)
commit41750067918b6bd4e0fe1025ef08f7fab2d1cf41
treef480a3f93af8617afe01db33042f1a1e30f9508c
parent979ca6699467cc6510f2328c0f1b637003378f8f
MMC: meson: don't use priv host structure before we verify it

The code of meson_mmc_irq is going to use mmeson_host
before the santity check of WARN_ON. I believe this's not
the code's intention, fix it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/mmc/host/meson-gxbb.c
This page took 0.024689 seconds and 5 git commands to generate.