From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:34901 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbcIINmq (ORCPT ); Fri, 9 Sep 2016 09:42:46 -0400 Subject: Patch "[PATCH 091/135] mmc: sdhci: Do not BUG on invalid vdd" has been added to the 4.4-stable tree To: adrian.hunter@intel.com, alexander.levin@verizon.com, gregkh@linuxfoundation.org, ulf.hansson@linaro.org, vbyravarasu@nvidia.com Cc: , From: Date: Fri, 09 Sep 2016 15:38:27 +0200 Message-ID: <1473428307250180@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From d2ca38968a7d17f9687d1be0d03b13dc7be4b0cc Mon Sep 17 00:00:00 2001 From: Adrian Hunter 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(). Signed-off-by: Adrian Hunter Reviewed-by: Venu Byravarasu Signed-off-by: Ulf Hansson Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -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 adrian.hunter@intel.com 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