projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153f478
)
greybus: sdio: change the order of remove and free mmc host
author
Phong Tran
<tranmanphong@gmail.com>
Fri, 26 Jun 2015 14:05:12 +0000
(21:05 +0700)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 30 Jun 2015 01:06:08 +0000
(18:06 -0700)
The mmc host should be removed frist. Then it
will be freed.
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/sdio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/sdio.c
b/drivers/staging/greybus/sdio.c
index 16abf7cafd902de8e475778d06d7a6fd8400749e..cf12592d34680dc6747b7e62177bf1973998b16e 100644
(file)
--- a/
drivers/staging/greybus/sdio.c
+++ b/
drivers/staging/greybus/sdio.c
@@
-700,8
+700,8
@@
static void gb_sdio_connection_exit(struct gb_connection *connection)
flush_workqueue(gb_sdio_mrq_workqueue);
destroy_workqueue(gb_sdio_mrq_workqueue);
- mmc_free_host(mmc);
mmc_remove_host(mmc);
+ mmc_free_host(mmc);
kfree(host->xfer_buffer);
}