]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: omap_hsmmc: fix host reference after mmc_free_host
authorBalaji T K <balajitk@ti.com>
Mon, 15 Oct 2012 16:05:07 +0000 (21:35 +0530)
committerChris Ball <cjb@laptop.org>
Mon, 29 Oct 2012 16:54:19 +0000 (12:54 -0400)
commit8f55b154944e53c20c1af695aeaa3fabc898f417
treeee017e2a2c0793bb93e6283a8f0d23071abd57a6
parent1516d03cf7b9447652eafe4f283882a536f26ae5
mmc: omap_hsmmc: fix host reference after mmc_free_host

struct omap_hsmmc_host *host should not be accessed after mmc_free_host().
Reorder mmc_free_host() after iounmap(host->base).

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c