Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2217144imm; Thu, 7 Jun 2018 07:13:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLwRNTy4eIsXKVebmL3VNSDXn/fFE0/AtuPTnjdsgLDD3BaL3rXo1r87x+6sRO+T5TTzX10 X-Received: by 2002:a62:3a59:: with SMTP id h86-v6mr1964929pfa.209.1528380815072; Thu, 07 Jun 2018 07:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528380815; cv=none; d=google.com; s=arc-20160816; b=hOV9dWSIZSgPeGyyZ9F2JV9b16m7gTuXQ4QpiQ1JaPe4Na1H2bnzDPyVtSfwSFyndh 1zBUb9uR+q0o6X33kE0eGjj/yj9NxtdHcsyu6uHNverqRFYtFFBuX9eUt8WuMapiTqD0 G5KoOXiR1z/9Yxm+YTcInAeOU/k0nSrgXmjvjyKK7YHRjJBEj+2rMQxqU6/g5saZdqM9 gwVFAxDUXdTeYlTXQVte5g2KUFHlio6HhaL4IWzIblweD0OY2BRRNaXggLtqpM0d37Ff D0ir+PG5gYoueOYmY4xJbi7V6MBKqaprtjkaQA+leV+Aj1LP3NmUuxg2FpfazaWjKmq9 65gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=03pp8WarUetvGTODR9uRcOCpGu5O3lyTJtW3CvNPaCQ=; b=XsGfLqt25YIYqqC5uF1XusC6eZGJew8pUR2Tvn6zLWTowM4XiUCG3DOmJWxjg+kCHX m3zQOFAG2IOo7NGZ683bixAm5VXtDpShwASQgWlDBDPFjXuM/Dc/aUnvUunZSQn2x1n6 xCsEzs8G/KTRmliNeqgns2E54azi9oC32JROw/QEXg5QsxoT1ZMCeDnglVW3q9g7bfIx sMvsYX6RHsQUrDCl5wBzOiaLNVHHGToVyJuFg3dnhrff0yPwp3Jb8oZv89JTjI97dhTn qx27H5eCIUZv3azYADzbQHexc3tgsrZWTkTPYwD4bujGDs4+MZPzg8B6Y9D2W1Rhlvp/ OCAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k185-v6si4158947pgc.468.2018.06.07.07.13.20; Thu, 07 Jun 2018 07:13:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933220AbeFGOJu (ORCPT + 99 others); Thu, 7 Jun 2018 10:09:50 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:39417 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933154AbeFGOJb (ORCPT ); Thu, 7 Jun 2018 10:09:31 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbM-0005Zj-T3; Thu, 07 Jun 2018 15:09:21 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvbE-0003Hs-4b; Thu, 07 Jun 2018 15:09:12 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, linux-mips@linux-mips.org, "Ralf Baechle" , "John Crispin" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 385/410] MIPS: ralink: Don't set pm_power_off In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: John Crispin commit 81ab9f6c5ff8565e4cba330e340a8979a10521d7 upstream. Setting pm_power_off is apprently wrong and makes drivers such as gpio-poweroff not work. Signed-off-by: John Crispin Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11445/ Signed-off-by: Ralf Baechle Signed-off-by: Ben Hutchings --- arch/mips/ralink/reset.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/mips/ralink/reset.c +++ b/arch/mips/ralink/reset.c @@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void { _machine_restart = ralink_restart; _machine_halt = ralink_halt; - pm_power_off = ralink_halt; return 0; }