From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19606C282CB for ; Sun, 27 Jan 2019 15:11:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC3D721736 for ; Sun, 27 Jan 2019 15:11:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548601861; bh=hFv0FGNnofNHhTrPeFbye8rj47QlIhGIbXNbgRm2oNE=; h=Subject:To:Cc:From:Date:List-ID:From; b=mUu1rVWzTuDboi+0CaL0nPkPqLCnSRoRnLyro5a/Vq9lRmR8C5cEIVw3TVau9YTXl BR8XJX5IhXnMx9XRhvp9z+yAmCC5hi6/T3/gJNYARCr/9klN8uQipbU2Fjzhjf5CxA m1PU8pMIqJXwP33+fsUOJI0aKujKV/mPOZRloiGU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726805AbfA0PLB (ORCPT ); Sun, 27 Jan 2019 10:11:01 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:33417 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfA0PLB (ORCPT ); Sun, 27 Jan 2019 10:11:01 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id DC74211FC3; Sun, 27 Jan 2019 10:11:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 27 Jan 2019 10:11:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Vi3JUL oBPvvDuy7PfXouVfgw9UEmnUATYV1BX+XYPSo=; b=K4BaIvsER/ZEceIAfTLoMR aB6dzbvhL/mIDX/+owMwIwkKathKjCK+iiY8L1eGcgPvAFe4t7g8iZ6Ahis50mIH zGXv8wAgdTdpzVyQNRg/nWQuxufbfzXwEbMr/JPTGbfPRJeN8G8nQEnDnKSON4pe VmDnxSDcqHEz4XSHHFRohL6cTxdKT1s1KRVu6VYawd8T3+cNN68UjGvoYAxMF0Yx q/gCoIvrgD0fpZXoC0gmgw0ZtAv3tu1lWYkxkUk5moWa8aY7rMTX957JrpzvfCVm YMYRB0Ck/SdtBAIYkvKgzECPHNsuJX4ypaC8Ju9JwJ3ESmzOrBzQ22SiqY2Veo/Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrieekgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucgoufhprghmkfhpucdlfedttddmnecujfgurhepuffvhfffkfggtgfgsehtkeertd dttdflnecuhfhrohhmpeeoghhrvghgkhhhsehlihhnuhigfhhouhhnuggrthhiohhnrdho rhhgqeenucfkphepkeefrdekiedrkeelrddutdejnecurfgrrhgrmhepmhgrihhlfhhroh hmpehgrhgvgheskhhrohgrhhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (5356596b.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 46971E40D1; Sun, 27 Jan 2019 10:11:00 -0500 (EST) Subject: FAILED: patch "[PATCH] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe" failed to apply to 4.14-stable tree To: stefan.wahren@i2se.com, adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: From: Date: Sun, 27 Jan 2019 16:10:58 +0100 Message-ID: <1548601858198119@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 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.14-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 2bd44dadd5bfb4135162322fd0b45a174d4ad5bf Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sun, 23 Dec 2018 21:59:17 +0100 Subject: [PATCH] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe We need to handle mmc_of_parse() errors during probe. This finally fixes the wifi regression on Raspberry Pi 3 series. In error case the wifi chip was permanently in reset because of the power sequence depending on the deferred probe of the GPIO expander. Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver") Cc: stable@vger.kernel.org Signed-off-by: Stefan Wahren Acked-by: Adrian Hunter Signed-off-by: Ulf Hansson diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 0db99057c44f..9d12c06c7fd6 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -296,7 +296,10 @@ static int sdhci_iproc_probe(struct platform_device *pdev) iproc_host->data = iproc_data; - mmc_of_parse(host->mmc); + ret = mmc_of_parse(host->mmc); + if (ret) + goto err; + sdhci_get_property(pdev); host->mmc->caps |= iproc_host->data->mmc_caps;