Crash during reboot due to 7628774 "mmc: core: Handle card shutdown from mmc_bus"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It looks like commit 7628774 "mmc: core: Handle card shutdown from
mmc_bus" causes a crash during "reboot" at least on Tegra platforms. The
issue appears to be in:

> static void mmc_bus_shutdown(struct device *dev)
> {
> 	struct mmc_driver *drv = to_mmc_driver(dev->driver);
> 	struct mmc_card *card = mmc_dev_to_card(dev);
> 	struct mmc_host *host = card->host;
> 	int ret;
> 
> 	drv->shutdown(card);

Since drv == NULL.

Is this expected (and hence there's a missing guard on that function
call), or is the root-cause some other issue?
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux