Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1264380ybl; Fri, 23 Aug 2019 16:29:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRvhSqvx2Q1srFF2UL5pfzJO8MMNHkEix/taHRQbwO1NOiADHCOoZKbioVnEwdDxneIdRt X-Received: by 2002:a17:902:e406:: with SMTP id ci6mr7313112plb.207.1566602993899; Fri, 23 Aug 2019 16:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566602993; cv=none; d=google.com; s=arc-20160816; b=KX/BCuih4VoZIwkpPi19WJnD8Nm6hU7zq2+QN5l3Gf+RMENHfOh5ITRHmW6YycLUl8 vM+EwTFlQL7+yfifNXEMhlC47o8dr344no5uLSEDWjUV3TqoMjr/krISNzv3rKOI50Ye 9ATk9ttxFL/IJhEK0lBKo4NyUN9cM5gwLNTSOqJ4I03GUnr5n2qs4oCTfHkfM4yTTCxY ziZwpbnIPxZ4a6P13yyixmY+PRWsaKyuYLp/Y1x78Vo679TH6SeIPhz/EGVVUBuizXDs Q8LpygX9Dm7k5rWglNzfdbztExw2fgHqy6NudtJnMU5aRLK5znXlZWDjCIXwfi1GW46m cQnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:reply-to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=Zp3rIEiWFT/dze56KH17pc3w7hpd4V6pR+eI+ZXCu3M=; b=P29JvRXdmujielgVA6tXlnmQ7dET9kCiaoErWrPQrfwAt0MShG4op41nU7Mg2B+1UD Zw4RJOshLLrCdhkcjYb5y4zNPgk7aW/UdbHyxInld0fRWXCr/u7wVSaw7WMv7quR4+tP ehlBdr98RQlIEpG9tYmWUiFXeKSaEiCdpdStJX0Wz0Lejeev49somjdPzdxMqGLRrlNI W8mWuNurRkSMUJHKaTW+psshZ71SIRTiM8gfHsZX7wyRCQ5Urba+12tUI6E7o6fYLDoB N97ugnOxicNJn1Q377qO/5nM4G98hGxE4YRvZXgFmvebm9a+HwT7mSTdiYWf+Us9nI8X clZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b=eF59Hom6; 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 s18si2672751pfd.73.2019.08.23.16.29.38; Fri, 23 Aug 2019 16:29:53 -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; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b=eF59Hom6; 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 S2405322AbfHWP1X (ORCPT + 99 others); Fri, 23 Aug 2019 11:27:23 -0400 Received: from mout.gmx.net ([212.227.15.18]:53313 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405254AbfHWP1X (ORCPT ); Fri, 23 Aug 2019 11:27:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1566573994; bh=Zp3rIEiWFT/dze56KH17pc3w7hpd4V6pR+eI+ZXCu3M=; h=X-UI-Sender-Class:Date:In-Reply-To:References:Subject:Reply-to:To: CC:From; b=eF59Hom6dWe897cYMpJUjOA3BSPM1ZDhDFCb3zy4paWKzPVh/BJcTArszKqjkTZ4B LOmKbuy94EofNxw7Xl8vyes9csFFHJHpErD6QsnXBGdWWydUA/PanhgCcP5WHSz431 oEtnvrbgYoOES0FgaZmmBKwoRE72BT3U22d7l9ME= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.159.16.108] ([80.187.106.162]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M42jK-1i1BST3icq-0007yy; Fri, 23 Aug 2019 17:26:34 +0200 Date: Fri, 23 Aug 2019 17:26:30 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: <1566531931-9772-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1566531931-9772-3-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [BUG] [PATCH v5 02/10] mfd: mt6397: extract irq related code from core driver Reply-to: frank-w@public-files.de To: linux-mediatek@lists.infradead.org, Matthias Brugger , Hsin-Hsiung Wang CC: Mark Rutland , Alessandro Zummo , Alexandre Belloni , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , Sean Wang , Liam Girdwood , Rob Herring , linux-kernel@vger.kernel.org, Richard Fontana , Mark Brown , linux-arm-kernel@lists.infradead.org, =?ISO-8859-1?Q?Ren=E9_van_Dorst?= , Thomas Gleixner , Eddie Huang , Lee Jones , Kate Stewart , linux-rtc@vger.kernel.org From: Frank Wunderlich Message-ID: <0A87F427-2D81-412A-9549-09A51A021799@public-files.de> X-Provags-ID: V03:K1:MlEGagT+FxNsAXYs/gx5WKMizc7kwSvyFUw/hTdq7YzFpwt6Zhn 5UfK75n7wwRUKjmfPzWHnQelpZHnvazt0+9AFA28McB6YDZTZOTb05dAflzdvUC+CaTmUTW /7QG52/cIRR3NjqPis1bJEmb6ZhOUiAKyFf8r4seFicKLQ4zFS2VHUNEQGjBTeoLV5pdnLt 6kS8NGzUhCnMMaKRP1gaw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:KpTz2cCVoPo=:Dl6DzB+tsFkVmbbzgg231O 64z4l1siG51mmum9OG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wmxnUJ1X6HmABQgvctO8 mhhda235WkbaUBPyuZAjPcKEUQ/iDB9kCMmqCZhpE150ptn7B5BpxmysxjHHjPCclbHufkGj0 k0/h3u1apZYIm1KRm/HYlhHd8NsP+jS3Rzidw9t30or3FDmw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 23=2E August 2019 16:56:13 MESZ schrieb Matthias Brugger : >are you sure that you provide the correct chip_id here? I saw 0x2023 >(if I >remember correctly), while this switch checks for 0x23, 0x91 and 0x97, >so I'm >not sure if the problem really lies here=2E I didn't dig into the code to >find out >how the chip_id is created=2E The chip-id 0x2023 is reported with 5=2E3-rc5, next-code says 0x0=2E So i = guess the chipid is read out/calculated the wrong way=2E If calculation is = not changed the read is changed compared to 5=2E3