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

Commit f8110364 authored by Ohad Ben-Cohen's avatar Ohad Ben-Cohen Committed by Tony Lindgren
Browse files

omap: zoom: wl1271 slot is MMC_CAP_POWER_OFF_CARD



This patch complements ed919b01 "mmc: sdio: fix runtime PM anomalies by
introducing MMC_CAP_POWER_OFF_CARD" by declaring MMC_CAP_POWER_OFF_CARD
on the ZOOM's wl1271 mmc slot.

This is required in order not to break runtime PM support for the wl1271
sdio driver.

Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9f5ead76
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -216,7 +216,7 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
	{
	{
		.name		= "wl1271",
		.name		= "wl1271",
		.mmc		= 3,
		.mmc		= 3,
		.caps		= MMC_CAP_4_BIT_DATA,
		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
		.gpio_wp	= -EINVAL,
		.gpio_wp	= -EINVAL,
		.gpio_cd	= -EINVAL,
		.gpio_cd	= -EINVAL,
		.nonremovable	= true,
		.nonremovable	= true,