]> git.proxmox.com Git - mirror_ubuntu-kernels.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>
Wed, 7 Nov 2012 19:55:31 +0000 (14:55 -0500)
commit9d1f02864408c20dbbfaa661231c7afb5a8fc028
tree818eef937a9cd4e7386f43d98395e052e594768b
parentcb27a843de9e3a0a2e4b7e631da4679d38f49cee
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