Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp173436ybi; Fri, 7 Jun 2019 06:13:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBR60IxzrY6NDbgyf9jS7/CrD/yuIjQFlc5QOIKqTTfhjacJCgrlmcMQsucLckeEDOe2xi X-Received: by 2002:a62:5b81:: with SMTP id p123mr58797394pfb.158.1559913223112; Fri, 07 Jun 2019 06:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559913223; cv=none; d=google.com; s=arc-20160816; b=Vsj2B2v912JAmtcgGiTtILrh1pM8X4NJ0+D+MkEUlODFI6BLQNFIpO7BF6kK7zzyXn 7YLVIM+0GTpX9o5M93ZmOFUAXvmEgcr01LOzATA9axFQfd1HvdVkr+IWiFZCTn1MxqdH LPTTXT7WNZeQrpTaTJk71GVtmG0yaFcqq7+sQblxMp2M8yhOnAl4xQgPxu4LAiGmoXCr w9xBQ7E663LF6oSeKainkUA7gJMSbS8yoVW7PviLf+LDhLK1Y0ra1GyF4vC408dB8uUB w32qikuYw5f1OFtkB6/4v/0rNURm8mGr8ngYunpYs9x5QdHEfWiMACou4bbl7cV1ALKh zN7Q== 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=AuqbTHXdEmDSl2ECQar8zv+v2f9goHkUxGGxkykXJ10=; b=QwEAci1aeQ0Wip4o4CeZrJ22i30ZvXSwNIMCyt1tgplIaJX3hmzhAgHSs56x2G9Mgb dnUyUXqowAjLoROicvKdzA+oA5MBe8JnWx7yyVsQ6yXanpbFoVwOgXvVN+TdbcAZLMyE vyWTdsOomXD2TI6x1w/vzW6pJYs1VBEYxQUZUEVyXiumrsUVxSDwMDN5Sqs11x3ACeKv vmtxGj8PY1707LdOIujJmXXYKIRoj1JO3qlrLPdKWeem5UO5MkewtcO6Uzx/wGB6FP96 Ne2xuCV0aenXsVOm+LWDQhXAX0pYjEcvLSNsQjFDnL+jeIb4wMU5PpdkobMv3ospY1ya LKpw== 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 b9si1608699pjo.95.2019.06.07.06.13.25; Fri, 07 Jun 2019 06:13:43 -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 S1728064AbfFGMmu (ORCPT + 99 others); Fri, 7 Jun 2019 08:42:50 -0400 Received: from olimex.com ([184.105.72.32]:44742 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727386AbfFGMmt (ORCPT ); Fri, 7 Jun 2019 08:42:49 -0400 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 ; Fri, 7 Jun 2019 05:42:48 -0700 From: Stefan Mavrodiev To: Heiko Stuebner , Lee Jones , linux-kernel@vger.kernel.org Cc: Stefan Mavrodiev Subject: [PATCH v3 0/2] mfd: rk808: Fix pointers and poweroff Date: Fri, 7 Jun 2019 15:42:24 +0300 Message-Id: <20190607124226.17694-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 | 67 +++++++++++++++++++++++++++------------ include/linux/mfd/rk808.h | 2 ++ 2 files changed, 48 insertions(+), 21 deletions(-) -- 2.17.1