Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp439988ybk; Wed, 20 May 2020 03:35:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMQnihAW0p3Mw3WDmb0p45OW/AIWZNjBc+NNTzA3EZ5VOEmB1pSh64TG2ZBq+QTVwgs94b X-Received: by 2002:a17:906:829a:: with SMTP id h26mr3268166ejx.426.1589970929970; Wed, 20 May 2020 03:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589970929; cv=none; d=google.com; s=arc-20160816; b=0o5TsmkDJztylY9cc9QxGO3oVPE+CJhgZ1X4V6EcAgm/K/GhsfFU6PG3DyIGLTmTrn BfWstuFBEMehSc1hCay3zkBZrQ8YlsfZkBuvenAX9WNdmVsb0KxqgSDvWIUTym670+Vm zDCa9NwYagdKlzUsARiqI08hZ2afySdHJkPY90saZC1uLceYoWlLgoP2+YzC1GeswoBg ZElvnlMhuOuxolp1G0y8iMmYt0HGSNSYZVpWuX9iXTdkZtcoV9so3y+70spMF2Te0a43 V5ZIRveRFle5y+A0HNUqEWvrKdsUduj+vTPJ67usdLgfHFeQBPJve6IgYrGkzzlCon5Z JUpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HfMRe5GvWTMoSjJho2QVFn7+uU1oZw2rKqKzYM8kbw8=; b=L3j1obJu4osUYvtQqnghfU3eRS6Ll900tcjJ9WfgDtDVTZdIqzkBzTHZ5tW51GITS3 Qa111bb2pnAz0qJojzp0k2J+cKbwj3U7/5UJfYgBJgkkosQ05a9PMvk6NeRNFPt6J1Pa WKzkEz46vYXZab3rBWWvPxRT9ikHE0RWnC83U6o8Wf2NFf3DXzuUDfFefziMyi8qv6qC Ds0Yu+fCoVNfbq2OFHBdET7vRkjW/qm1YTXSM8k143PZK+E3dcq+NCAMXlyXlYvU88OJ qp95aSaiE6Aao1syzHGrCNLTa5qHP4WOliuKL6WrrUtQRYhbCJdcU0IDLCxtKt4yYS/f UgbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CsYMkHaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si1413292edg.437.2020.05.20.03.35.06; Wed, 20 May 2020 03:35:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CsYMkHaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726548AbgETKde (ORCPT + 99 others); Wed, 20 May 2020 06:33:34 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:42511 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726224AbgETKde (ORCPT ); Wed, 20 May 2020 06:33:34 -0400 X-UUID: 3de7439d6daf48d7a894be21cd30af4d-20200520 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=HfMRe5GvWTMoSjJho2QVFn7+uU1oZw2rKqKzYM8kbw8=; b=CsYMkHaV/YWUmJ+CGZVffs2aeo35GtyfEDEt0YrxwqU7ePpMqx1rWkKVeZeJogPzMiaLV6OdmQ1p2xKVkMBCsLV+XdY182O+1ovxF5YPemseaj5gAB0o9iHCDb/wytWMr6iicwLEMjNhfdiYgWaQSWJJ+Xu6VxQKTt0m3c0pjvc=; X-UUID: 3de7439d6daf48d7a894be21cd30af4d-20200520 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1810491927; Wed, 20 May 2020 18:33:30 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 20 May 2020 18:33:27 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 20 May 2020 18:33:27 +0800 From: To: CC: , , , , , , , Subject: [next] i2c: mediatek: Use div_u64 for 64-bit division to fix 32-bit kernels Date: Wed, 20 May 2020 18:31:53 +0800 Message-ID: <1589970713-19944-1-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUWlpIFdhbmcgPHFpaS53YW5nQG1lZGlhdGVrLmNvbT4NCg0KVXNlIGRpdl91NjQgZm9y IDY0LWJpdCBkaXZpc2lvbiwgYW5kIGNoYW5nZSBzYW1wbGVfbnMgdHlwZSB0bw0KdW5zaWduZWQg aW50LiBPdGhlcndpc2UsIHRoZSBtb2R1bGUgd2lsbCByZWZlcmVuY2UgX191ZGl2ZGkzDQp1bmRl ciAzMi1iaXQga2VybmVscywgd2hpY2ggaXMgbm90IGFsbG93ZWQgaW4ga2VybmVsIHNwYWNlLg0K DQpTaWduZWQtb2ZmLWJ5OiBRaWkgV2FuZyA8cWlp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