Skip to content

Commit f00e138

Browse files
committed
Hacked mmc shutdown to not crash with BUG, fixing reboot.
1 parent 004cbf1 commit f00e138

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mmc/host/sunxi-mmc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,9 @@ void sunxi_mmc_do_shutdown(struct platform_device * pdev)
11161116
goto out;
11171117
}
11181118

1119+
// XXX(longsleep): mmc_send_status below triggers BUG, do nothing and pray!
1120+
goto out;
1121+
11191122
//claim host to not allow androd read/write during shutdown
11201123
dev_dbg(mmc_dev(mmc),"%s: claim host\n", __FUNCTION__);
11211124
mmc_claim_host(mmc);

0 commit comments

Comments
 (0)