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 D0AD5C282CA for ; Sun, 27 Jan 2019 15:10:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A208F214C6 for ; Sun, 27 Jan 2019 15:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548601859; bh=AJaQAjGlUEKutJNcSJcGdTbS6raqF62t0kCsTe7DqXM=; h=Subject:To:Cc:From:Date:List-ID:From; b=sFM9vKpvS5KCdWaDqK9igggpm/oKDUpsxYiSG12ubaHiXGZ6Qvbvh/oZ9/XkxIgNf iySC53VcCkb8rEIAh+HklCS5U/UCNBW3C7t63CLHtaRxXIttKD1dtH5uxeTYhh+Okn sM1nNbmga+P2VIxlLVOXj+qZeeFW6Hu3q9tXA6ck= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726683AbfA0PK7 (ORCPT ); Sun, 27 Jan 2019 10:10:59 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:35605 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfA0PK6 (ORCPT ); Sun, 27 Jan 2019 10:10:58 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id E6932101CB; Sun, 27 Jan 2019 10:10:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 27 Jan 2019 10:10:57 -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=qB/kNK q3HoJJBFXYSCsHrCsGW60MHyy28hFLUeTrysY=; b=MsLIaIuKbUTTWo6AyyPo+N F73R30cRjKlV9sq39xGOZ+njyEp0j+PtR24HHmZgkMq1fewYeGdm5aH2V5quJvqt ocnWFJR7dLlqFIEHv4macNpDIALEuZNynGqGOMzGIosk60nykBVatww0ho6fBJhK lunY4tHKny/vXzO3IfHmDneOaguzHtReTjflJJKupw29ynQG4U4KdGFNnSxTbjPm /PsA/jZlwQ4meggze1CD77YJBI+/CiDLFTDPaGt4pE8H5LmJbWk6ySu4HEW6BV9R bkWKWj2BCwhlptKUVd69rnjy83dx3aYjiMbPeVW5yupJonGBVvu7F6+tjZurBa8A == 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 B349DE40D1; Sun, 27 Jan 2019 10:10:56 -0500 (EST) Subject: FAILED: patch "[PATCH] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe" failed to apply to 4.19-stable tree To: stefan.wahren@i2se.com, adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: From: Date: Sun, 27 Jan 2019 16:10:55 +0100 Message-ID: <154860185542236@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.19-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;