]> git.baikalelectronics.ru Git - kernel.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)
commitb5798467e7ff6844c84ee0ed3bd4509d63464141
tree818eef937a9cd4e7386f43d98395e052e594768b
parent367cdb8f01b5dc2e21351b0b1d95634f717fc889
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