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 7AC3AC282CB for ; Sun, 27 Jan 2019 15:11:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 49ACF214C6 for ; Sun, 27 Jan 2019 15:11:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548601869; bh=px50iEkTW5oFPdF2bpzDyZfw7fFz3VOVkaQhx7OWwKg=; h=Subject:To:Cc:From:Date:List-ID:From; b=i58W8qE+O8xmKYWiA9adtlQPmxHmIiSRommyG/YQob12WdISRV2KMqi3ygyOia5Jd Y68U3tiV8jEb/YnxgPhGnktOkROgjSwD5GESMrAdrlUxQueWlFUEGCZ6Ztiy5qWPdP F37CErOek4JP4UcYuR3FzJQQW7bvtw7orie+iMIA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfA0PLI (ORCPT ); Sun, 27 Jan 2019 10:11:08 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:35681 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfA0PLI (ORCPT ); Sun, 27 Jan 2019 10:11:08 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id D71BD1252E; Sun, 27 Jan 2019 10:11:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 27 Jan 2019 10:11:07 -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=yIBd2r n5wqBW11BUjvqRWkoCtN2hNTuQzvtuIzL8Q4M=; b=zDGc4Jdvy+JFx31g6afR4w e5QEcp2bhXwcEfpQoleX/Lx5+wt4wQW4fB4bhRTc3YLgFTUQxqFZk3/aRU5MgMEm 1mVwb1n1HFIgQ5vv4xAI+SYM+rOuS/JfanOn2aWecA59e4HcfEF0MwUTVIvMwheo U7KBn7qUNEluh216gO/yhi0y4YuT5zuecxGuoBzhAUwoHqkwADaEHBFokFJH3Xjc jCw8qN4bZY6Gv35mDFSv17mvfOOEryA1VYOCGspUbHgW8gcthEWq2Jj6+vo93tQF 9Wov9vY0xyGROTr0Hc/+zsxo2quqczGn5KpeHiw7QN1B0TBuUIf95yfumP7OLiiQ == 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 485C010087; Sun, 27 Jan 2019 10:11:07 -0500 (EST) Subject: FAILED: patch "[PATCH] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe" failed to apply to 4.4-stable tree To: stefan.wahren@i2se.com, adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: From: Date: Sun, 27 Jan 2019 16:11:06 +0100 Message-ID: <154860186610958@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.4-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;