From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90D1FC43603 for ; Mon, 16 Dec 2019 12:00:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62D7920725 for ; Mon, 16 Dec 2019 12:00:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576497620; bh=naLC/EuORdsqdfNnBmioGLohfwy5gJASLstajbq6AJU=; h=Subject:To:Cc:From:Date:List-ID:From; b=vEOZSH7s+VHaMO4Tm/XmM+lIatNAqVes1jJ5jjl7+I0ExGtUkvf8JfNuHJdz8aUqN zPD8VRsR4YVSH8hbLDO/Ueguhkf8iRrEX/3ZX++YKNS8b/siRZQTNeMgsmlfNFqW+0 dXXV4sOqWk+/bnnGp7APCXPJU2sGO5XDbOkftC8g= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727585AbfLPMAU (ORCPT ); Mon, 16 Dec 2019 07:00:20 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:45085 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727531AbfLPMAT (ORCPT ); Mon, 16 Dec 2019 07:00:19 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B0552792; Mon, 16 Dec 2019 07:00:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 16 Dec 2019 07:00:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BDoh4h CoL0b8eXd7/wlBZO0TsQXln0cmMRMqaiVo01A=; b=xJ7XsHiWCuCXm9QGcd2EeN uFAEOGI06i6n5hLh6oQlZhqWtWegUzgqFcGdsL512TgLVQcB6AX5tBuK5F2npdeF y9AdVrLFc6hg2uZJZxys9cA+BCWE+/xRjTVx43+Pc2FNL9zQ2X8yi3tL/Almqvep WFyFvRJIg/RW8Suy53VV/jAsePpGg4wxfNPvs0XzNzASwrsKWxLPjoxUdbs/L1XJ OCXPUgOYUc19uvLh+0yRf2FEACGJF8mQkIdUxDzAj4qyyFoyctbcjT96Sai+FzRF jJgZQVKtkQ/MJI2JL4vSCrbQGQRl+FHPT/sTCQr0oiob6DzMhB+rFYEyqmNadIBw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddthedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeekfedrkeeirdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgepud X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 0140130600FE; Mon, 16 Dec 2019 07:00:17 -0500 (EST) Subject: FAILED: patch "[PATCH] mfd: rk808: Fix RK818 ID template" failed to apply to 4.14-stable tree To: d.schultz@phytec.de, chenjh@rock-chips.com, heiko@sntech.de, lee.jones@linaro.org, zhangqing@rock-chips.com Cc: From: Date: Mon, 16 Dec 2019 13:00:06 +0100 Message-ID: <15764976065195@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.14-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 37ef8c2c15bdc1322b160e38986c187de2b877b2 Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Tue, 17 Sep 2019 10:12:53 +0200 Subject: [PATCH] mfd: rk808: Fix RK818 ID template The Rockchip PMIC driver can automatically detect connected component versions by reading the ID_MSB and ID_LSB registers. The probe function will always fail with RK818 PMICs because the ID_MSK is 0xFFF0 and the RK818 template ID is 0x8181. This patch changes this value to 0x8180. Fixes: 9d6105e19f61 ("mfd: rk808: Fix up the chip id get failed") Cc: stable@vger.kernel.org Cc: Elaine Zhang Cc: Joseph Chen Signed-off-by: Daniel Schultz Signed-off-by: Heiko Stuebner Signed-off-by: Lee Jones diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index 7cfd2b0504df..a59bf323f713 100644 --- a/include/linux/mfd/rk808.h +++ b/include/linux/mfd/rk808.h @@ -610,7 +610,7 @@ enum { RK808_ID = 0x0000, RK809_ID = 0x8090, RK817_ID = 0x8170, - RK818_ID = 0x8181, + RK818_ID = 0x8180, }; struct rk808 {