Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757196AbbGQIAX (ORCPT ); Fri, 17 Jul 2015 04:00:23 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:33794 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752419AbbGQIAW convert rfc822-to-8bit (ORCPT ); Fri, 17 Jul 2015 04:00:22 -0400 MIME-Version: 1.0 In-Reply-To: <1436231370-18301-1-git-send-email-sboyd@codeaurora.org> References: <1436231370-18301-1-git-send-email-sboyd@codeaurora.org> Date: Fri, 17 Jul 2015 10:00:21 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: qcom: Hook pm_power_down for shutdown support From: Linus Walleij To: Stephen Boyd Cc: "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , Bjorn Andersson , Pramod Gurav Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 22 On Tue, Jul 7, 2015 at 3:09 AM, Stephen Boyd wrote: > Assign pm_power_off() if we have the PS_HOLD functionality so > that we can properly shutdown the SoC. Otherwise, shutdown won't > do anything besides put the CPU into a tight loop. Unfortunately, > we have to use a singleton here because pm_power_off() doesn't > take any arguments. Fortunately there's only one instance of the > pinctrl device on a running system so this isn't a problem. > > Cc: Bjorn Andersson > Cc: Pramod Gurav > Signed-off-by: Stephen Boyd Patch applied with Björn's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/