Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp594546ybm; Mon, 20 May 2019 23:37:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJNE71XHL8CxE044cs2JO5NzGhmqkm1JmtJJbpO9KhJ0AvPgKAboYIwfmXSte/8W/TTr1X X-Received: by 2002:a17:902:824:: with SMTP id 33mr27165787plk.136.1558420665953; Mon, 20 May 2019 23:37:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558420665; cv=none; d=google.com; s=arc-20160816; b=tAEWd/XQpXU/LYsnTUgh4rUHncIFRM42ysQeKICdE0Sq1l4ukDTaJSOS4Y8nyPmOyG tUa+3ZrW+qw91okdAmuIemcbWb9J6cYSwFZPvxyopm8sQUzFYNiVmA2VOfDtei2+l9oV Hb7w5Zdyafaw9OabJBj5TtmgsBxS31inTnlDn6UpH8ezuXVTQc2teROD4LEEQHWKb6TL WMWRksn1OFx1uBJb/Nvi/YfLm/nOTY8nh5py2OL5wssu26QBGnth0nES9cySyeBU5MYV 0FKV8J7WADaTDkIYIHRgZLxoz1UgHkupe+jjG2aZewLy627/RMR+szcQewo6ZHViZYME WigA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Hx3XG0EX1Bl0VvaSdl4IF/dU0fDk93B/PtFBuYppgiY=; b=gLtsTe6BJkjt1Ce8tcKQ0HaSqNl39NQ8u6dzw+GX8oEYQIUfM2fTIyzShMr9wc89Ee F1LJ6vBi41UUP6+NudXKTd5milq2958UsVOUzZjMTopTuHDjvb5N15Ywvjo40JdyI9uA o3GQFj3vmW3lsUrpxL8PnH8fS5n7NbOMJ/zkHbYbbTckYoTyjAjwgPoLk+7OkFdo3Yki +wWWmBJm44yI9jHqfOW/wXiVGiumI3fDqeM9lSYt/r6OrFXVK6xL2QdEHF9NrJce67nT niuCCKduvpc7CNnjEkUlr4Ixg63usLrSmz7jCRhqkXPIGCWTabOW/Jwscee6MG0Fqvmn Cz5w== 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 3si19898319pgt.305.2019.05.20.23.37.31; Mon, 20 May 2019 23:37:45 -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 S1727974AbfEUGfQ (ORCPT + 99 others); Tue, 21 May 2019 02:35:16 -0400 Received: from olimex.com ([184.105.72.32]:59132 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbfEUGfQ (ORCPT ); Tue, 21 May 2019 02:35:16 -0400 X-Greylist: delayed 585 seconds by postgrey-1.27 at vger.kernel.org; Tue, 21 May 2019 02:35:15 EDT Received: from localhost.localdomain ([94.155.250.134]) by olimex.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username stefan@olimex.com, mechanism PLAIN) for ; Mon, 20 May 2019 23:25:11 -0700 From: Stefan Mavrodiev To: Heiko Stuebner , Lee Jones , linux-kernel@vger.kernel.org Cc: Stefan Mavrodiev Subject: [PATCH v2 0/2] mfd: rk808: Fix pointers and poweroff Date: Tue, 21 May 2019 09:24:47 +0300 Message-Id: <20190521062449.29410-1-stefan@olimex.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is actually follow-up to: [PATCH 1/1] mfd: rk808: Prepare rk8085 for poweroff The patchset fixes poweroff function for boards with RK8085 PMU. During the preparation of v2 possible wrong pointer access was spot (pm_power_off), so one more patch was introduced in the series. Stefan Mavrodiev (2): mfd: rk808: Check pm_power_off pointer mfd: rk808: Prepare rk805 for poweroff drivers/mfd/rk808.c | 42 +++++++++++++++++++++++++++++++++------ include/linux/mfd/rk808.h | 2 ++ 2 files changed, 38 insertions(+), 6 deletions(-) -- 2.17.1