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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 CEE0CC04AAF for ; Thu, 16 May 2019 13:54:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9479C20657 for ; Thu, 16 May 2019 13:54:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="v9VjY2+X" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727507AbfEPNyU (ORCPT ); Thu, 16 May 2019 09:54:20 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60350 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfEPNyU (ORCPT ); Thu, 16 May 2019 09:54:20 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4GDsI1B101931; Thu, 16 May 2019 08:54:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1558014858; bh=PXmqsDgOHC1zgJUNXKBZ/4xKuKk2v9nWZpRfx6nu53w=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=v9VjY2+XiIcwuFCCkFM6ejYKHcZuG3UV+6wl57FdsxQdSWaTEhl0nwCcZ8IAt7yZe +EzpBE55c8DJxiN4YBhwsluZNzXvr3YkM7jC4zBlLi07LsypmHEBHM3oTSqmGUC9lS yE95P8QoHeSQ5xidrtIgME4B8Z2tluMnhooHOOjM= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4GDsIKq101262 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 May 2019 08:54:18 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 16 May 2019 08:54:17 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 16 May 2019 08:54:17 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4GDsFbt069321; Thu, 16 May 2019 08:54:16 -0500 Subject: Re: [PATCH RFT] regulator: tps6507x: Fix boot regression due to testing wrong init_data pointer To: Axel Lin , Mark Brown CC: Liam Girdwood , , Adam Ford References: <20190516124808.3335-1-axel.lin@ingics.com> From: Sekhar Nori Message-ID: <1d73f4fe-c343-ef57-757d-ff535e1b76c0@ti.com> Date: Thu, 16 May 2019 19:24:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190516124808.3335-1-axel.lin@ingics.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/05/19 6:18 PM, Axel Lin wrote: > A NULL init_data once incremented will lead to oops, fix it. > > Fixes: f979c08f7624 ("regulator: tps6507x: Convert to regulator core's simplified DT parsing code") > Reported-by: Sekhar Nori > Signed-off-by: Axel Lin > --- > Hi Sekhar, > Please check if this patch works, thanks. > Axel Boot is fine now and PMIC regulator rail microvolts readings from sysfs are correct as well. I did not try to change the voltages though. Tested-by: Sekhar Nori Thanks, Sekhar