From patchwork Thu Apr 30 19:55:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 6306901 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 911219F326 for ; Thu, 30 Apr 2015 19:55:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA2C6201EF for ; Thu, 30 Apr 2015 19:55:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C256C201E4 for ; Thu, 30 Apr 2015 19:55:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132AbbD3TzO (ORCPT ); Thu, 30 Apr 2015 15:55:14 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:33344 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbD3TzN (ORCPT ); Thu, 30 Apr 2015 15:55:13 -0400 Received: by pdbnk13 with SMTP id nk13so70560444pdb.0; Thu, 30 Apr 2015 12:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0qpNBCwiSvrP1J6PGohoiPwynBosZkCAjwrBW5ZWiq0=; b=gKniR8hm4z5CLCi85Z/5jtNY55f6Ub8hCZiGy17TYTUtjWK739M/Pyg1ZOd7v4esLE tfOZ/h4i6ImJjaqP/6dvTP+u/74ubGft6qWzpCXz9vzoZtETSo0Jw5jZ22zad5O1qact vHh/WdS2YYy8LB4XZJXPSXvOCREjm3fWLDW/B8j+h+ifpjOTc3AktVXdXiYt2PaYakWs gs61Dwb+bOnpfOIGm9YWQ0QEzIfXNSSKSzOMQp81T0kyu7Sr6Xl7W2mseMLpZEWzzxnB 7gDsW5kSadG+dpJewB/oJUQfD5m3Aljk++rC7nCVmICOJ/6pEGRW1jXsfBHiI2MoYEHM O3AQ== X-Received: by 10.66.160.71 with SMTP id xi7mr11224990pab.19.1430423713233; Thu, 30 Apr 2015 12:55:13 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id w6sm2936136pbt.60.2015.04.30.12.55.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Apr 2015 12:55:11 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: linux-pm@vger.kernel.org, dwmw2@infradead.org, dbaryshkov@gmail.com, sre@kernel.org, computersforpeace@gmail.com, bcm-kernel-feedback-list@broadcom.com, Florian Fainelli Subject: [PATCH] power: reset: Add MFD_SYSCON depends for brcmstb Date: Thu, 30 Apr 2015 12:55:02 -0700 Message-Id: <1430423702-6320-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Broadcom STB reboot driver depends on MFD_SYSCON, it uses syscon_regmap_lookup_by_phandle() which will not lookup syscon phandles if MFD_SYSCON is disabled, and instead will return -ENOSYS since it is turned into an inline stub. Fixes: 030494e75064c ("power: reset: Add reboot driver for brcmstb") Signed-off-by: Florian Fainelli --- Sebastian, Could you queue this as a fix for 4.1? Thanks! drivers/power/reset/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 028e76504519..f37135c312fd 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -41,6 +41,7 @@ config POWER_RESET_AXXIA config POWER_RESET_BRCMSTB bool "Broadcom STB reset driver" if COMPILE_TEST depends on ARM + depends on MFD_SYSCON default ARCH_BRCMSTB help This driver provides restart support for ARM-based Broadcom STB