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 ABF7FC2D0C3 for ; Mon, 16 Dec 2019 12:00:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F8E620725 for ; Mon, 16 Dec 2019 12:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576497615; bh=2EJZNgMegWXIq67KTpat+FYBFBPi7mie5z+cX/awU7g=; h=Subject:To:Cc:From:Date:List-ID:From; b=THWIt9/rQkLybiM9woh+Giyf0yb+YXdVVLQxXMBkKMbUcg8LGCOu1PN1KT59wtpK/ pCNyXisvffPDcI4l1TIZ4P1uf7fGDM0PoWXZk0TLbKROtj7ALIzeIFB3VOJxry+zfJ qGKUWI3fTcXAncNZ8E4Jqa4WXpNhTwskytkq2CQE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727562AbfLPMAL (ORCPT ); Mon, 16 Dec 2019 07:00:11 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:37377 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727491AbfLPMAL (ORCPT ); Mon, 16 Dec 2019 07:00:11 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 80E4B776; Mon, 16 Dec 2019 07:00:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 16 Dec 2019 07:00:10 -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=y5/pu9 2CqiUOlPQdmsRC9I90dChMQ38LPCL/D+/fcJs=; b=IspBS6bfx1mST/HBp265VW 3RTIrCUP17AxcKaTd3Y3nG6Xst79rXUWSwY3A3jMypkPlE2GJgyKp2IsI4eCOXig kVgio57s2zz7KIpGgmEcsL4RXBdS6oBwJ8IWJ7Qlwqj3ZdigI9oFoDWVSo75hzre HYSfsuFl/JSkj9hNdHRiSatzM5rJqzuiLRjeLG+wbZsEhxeFSGVFlqOCBjbDJJ2n dgY9t85idIgvyF1itT37bsaIl3/L0WEGZGBlBnMx9vAfD7LnNaXOP9YkeR4/IR29 qVuh3vshcByDjFkzcybS+9tdvjHgdHR8IzpVpbpW0iIY2P/NYdSAwwqF3YbjRqFg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddthedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeekfedrkeeirdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd 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 871368005A; Mon, 16 Dec 2019 07:00:08 -0500 (EST) Subject: FAILED: patch "[PATCH] mfd: rk808: Fix RK818 ID template" failed to apply to 4.19-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:05 +0100 Message-ID: <1576497605185176@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.19-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 {