Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0bad6a6 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: core: Add core support for enabling debug feature



Add core support for enabling sdcc debug feature.

Change-Id: I9461000ba225736534d9d0e331bf37913485facd
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 95b3be3d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -420,6 +420,8 @@ void mmc_remove_card(struct mmc_card *card)
		device_del(&card->dev);
		of_node_put(card->dev.of_node);
	}
	if (host->ops->exit_dbg_mode)
		host->ops->exit_dbg_mode(host);

	put_device(&card->dev);
}
+2 −0
Original line number Diff line number Diff line
@@ -2306,6 +2306,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,

	if (!oldcard)
		host->card = card;
	if (host->ops->enter_dbg_mode)
		host->ops->enter_dbg_mode(host);

	return 0;