Skip to contentSkip to conversation

Patch "[PATCH 091/135] mmc: sdhci: Do not BUG on invalid vdd" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 9, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

[PATCH 091/135] mmc: sdhci: Do not BUG on invalid vdd

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     0091-mmc-sdhci-Do-not-BUG-on-invalid-vdd.patch

and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From d2ca38968a7d17f9687d1be0d03b13dc7be4b0cc Mon Sep 17 00:00:00 2001

From: Adrian Hunter <[email protected]>
Date: Thu, 26 Nov 2015 14:00:46 +0200
Subject: [PATCH 091/135] mmc: sdhci: Do not BUG on invalid vdd

[ Upstream commit 9d5de93f6d543b356e39e225988ef443a7bce34c ]

The driver may not be able to set the power correctly but that is not a reason to BUG().

---
 drivers/mmc/host/sdhci.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/mmc/host/sdhci.c +3 -1
@@ -1315,7 +1315,9 @@ static void sdhci_set_power(struct sdhci
 			pwr = SDHCI_POWER_330;
 			break;
 		default:
-			BUG();
+			WARN(1, "%s: Invalid vdd %#x\n",
+			     mmc_hostname(host->mmc), vdd);
+			break;
 		}
 	}
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/0091-mmc-sdhci-Do-not-BUG-on-invalid-vdd.patch queue-4.4/0079-mmc-sdhci-64-bit-DMA-actually-has-4-byte-alignment.patch