Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp13776yba; Fri, 12 Apr 2019 16:00:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFZWUbfHpEHz28p669uMP7cTfdAvPR5O0oiq2vFtzWaDv5mqTpbUtYqbNJdxY//5xOI4qf X-Received: by 2002:a63:7d03:: with SMTP id y3mr55955614pgc.8.1555110045491; Fri, 12 Apr 2019 16:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555110045; cv=none; d=google.com; s=arc-20160816; b=VQFYm0KoyIQ/xN0WIN5Gk8JE4cKvqiDrqXApRoSNLRNXGsGpM8Mwn7EsmtXsgFzY8W LZBOV18+BzHB9/Yk4zsdxfEsmUAxEOLaGCM1j9zgsh3cocwYlqvyUSfP7RA3ZuhQJ3TC z+USDLAtSPUQ7sNYA6hBfA0dJ9VNp8jTsaltibDi2NBnogdSDNeJwsngHufT81Vbi0wE Nmsze+wW9k14/NVynEHcCWYe2JFzoA69D5QjQKtzyqbjzNfvFj4qe1Ux2QkpIzYuf0ic fjp54cBkJn2YWeRJkkh4W49+1yDaRlRt+20jSUwZ9l/aT3L6hXLUmBIXTSDyIfP0jEIW BY+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=IuZhlqpIar/6P71EmLZE6b39zZX+ExXpOPeTl3uP3wo=; b=q4rnpC05F/H/1vKouCiy6Vtq0WASbuA4rp8u2ugzMhDyseuL13FtXQSHhauqa/J38G Fbd4PSiVqPXffT6asBEUZvM5aVpNigFIApV2ajKFx8WY2cLrBN8Kd+Wn+WvIDVhjY6kU 4/JBJG0cBIixHNHJ6OuLaG9RnLuPU4Yglzpql+ZsCv3mjpP2ikuKpOozC1iBMmZzo4Q9 y3ByyppvKQjhOdGh2UyIWNqcRDw5Ov7eok0pkiCG/pYyj866UcBGBQDIS4WOCAdbw1fp aHwdqUJexvyRZxSMqB8oo1CgKs97SilRToLd5nIKtSZNR7ot9M9I0fZJNGMLLEDl/Xac vaQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=IfAM7I85; 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 u125si36446356pgc.281.2019.04.12.16.00.25; Fri, 12 Apr 2019 16:00:45 -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=pass header.i=@axentia.se header.s=selector1 header.b=IfAM7I85; 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 S1726925AbfDLW7q (ORCPT + 99 others); Fri, 12 Apr 2019 18:59:46 -0400 Received: from mail-eopbgr30096.outbound.protection.outlook.com ([40.107.3.96]:21214 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726757AbfDLW7p (ORCPT ); Fri, 12 Apr 2019 18:59:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IuZhlqpIar/6P71EmLZE6b39zZX+ExXpOPeTl3uP3wo=; b=IfAM7I85w+4MkD9xdpMTPIW5f/A2o+txLBMsTygKvS7k32PgYFyD6/M3T0lEAh7L1WEsw1nsvGpNf6bfAJTHekFX+/X2R8Rc+QUHQEleZcUKEWc5HXR3ZpkaWN+niwPSeb04sPZxk6ceuoxcktty7YeuBphPxCjp0SNKMLAGAz4= Received: from VI1PR02MB4542.eurprd02.prod.outlook.com (20.178.12.74) by VI1PR02MB4303.eurprd02.prod.outlook.com (20.177.60.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 22:59:40 +0000 Received: from VI1PR02MB4542.eurprd02.prod.outlook.com ([fe80::2891:d814:7bff:fbc7]) by VI1PR02MB4542.eurprd02.prod.outlook.com ([fe80::2891:d814:7bff:fbc7%4]) with mapi id 15.20.1771.019; Fri, 12 Apr 2019 22:59:40 +0000 From: Peter Rosin To: Ray Jui , Wolfram Sang CC: "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bcm-kernel-feedback-list@broadcom.com" , Rayagonda Kokatanur Subject: Re: [PATCH] i2c: iproc: Change driver to use 'BIT' macro Thread-Topic: [PATCH] i2c: iproc: Change driver to use 'BIT' macro Thread-Index: AQHU6mEE3VBQWFg3OEO4UFCMK2X3RqY5MgwA Date: Fri, 12 Apr 2019 22:59:40 +0000 Message-ID: References: <20190403210535.32236-1-ray.jui@broadcom.com> In-Reply-To: <20190403210535.32236-1-ray.jui@broadcom.com> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1PR05CA0127.eurprd05.prod.outlook.com (2603:10a6:7:28::14) To VI1PR02MB4542.eurprd02.prod.outlook.com (2603:10a6:803:b1::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 169db324-4b04-4702-3216-08d6bf9a8b6e x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600139)(711020)(4605104)(2017052603328)(7193020);SRVR:VI1PR02MB4303; x-ms-traffictypediagnostic: VI1PR02MB4303: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(39830400003)(366004)(346002)(396003)(376002)(52314003)(189003)(199004)(99286004)(8676002)(305945005)(6436002)(5660300002)(106356001)(71200400001)(71190400001)(105586002)(7736002)(14454004)(316002)(6486002)(74482002)(65826007)(229853002)(110136005)(508600001)(54906003)(58126008)(31696002)(4326008)(11346002)(186003)(97736004)(66066001)(446003)(476003)(2616005)(6512007)(486006)(26005)(64126003)(65956001)(65806001)(31686004)(6246003)(2906002)(53936002)(36756003)(86362001)(3846002)(6116002)(81166006)(8936002)(81156014)(52116002)(68736007)(25786009)(14444005)(256004)(53546011)(6506007)(102836004)(386003)(76176011)(21314003);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR02MB4303;H:VI1PR02MB4542.eurprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /nMDHvy6EENG+992CvATL6HxjmXq+ckdtu0GFfc4GTSHIjsH5q3iJi6kwOIXzqaed2jZhvCWRNxiVBfVtYg2ZnbGZ7qW8luGG4OEDnpF5Ul4eJzvJQS/vUWq33EpmDkUKvRoIbhd5VyPdJWY1FdhevGwPRw5u4HpHs1hmX2d2S9rUUTnsetBF80JWNnA5NZLh5RJVooKSr0LGkCRq8ckQtCKhYwt6NUY82T6ZZWDETIk3cXCI0HI/+MyFhuY2HPY660G/9xOtWDKTSkkZPzEwsQ0gMYSWx+UXtfmIUNr8ZDmuaSCcQt72WifBBEMeAWxCX/zG6vFOBNcnj9X44nWLvwEomXnZtjiSrikH8IG7+zPcMOpmNtpZv5Q6ovFjwU6FxGZiUmcEfCusSarcpFvUBQn4rFIMrHyVCAZM43W6MQ= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 169db324-4b04-4702-3216-08d6bf9a8b6e X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 22:59:40.8240 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB4303 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjAxOS0wNC0wMyAyMzowNSwgUmF5IEp1aSB3cm90ZToNCj4gQ2hhbmdlIHRoZSBpUHJvYyBJ MkMgZHJpdmVyIHRvIHVzZSB0aGUgJ0JJVCcgbWFjcm8gZnJvbSBhbGwgJzEgPDwgWFhYJw0KPiBi aXQgb3BlcmF0aW9ucyB0byBnZXQgcmlkIG9mIGNvbXBpbGVyIHdhcm5pbmcgYW5kIGltcHJvdmUg cmVhZGFiaWxpdHkgb2YNCj4gdGhlIGNvZGUNCg0KQWxsPyBJIHNlZSBsb3RzIG1vcmUgJzEgPDwg WFhYX1NISUZUJyBtYXRjaGVzLiBJIG1pZ2h0IGJlIGJlaGluZCB0aG91Z2g/DQpBbnl3YXksIGlm IHlvdSBhcmUgY2xlYW5pbmcgdXAsIEknbSBqdXN0IGZsYWdnaW5nIHRoYXQgQklUKFhYWF9TSElG VCkgbG9va3MNCmEgYml0IGNsdW5reSB0byBtZS4gWW91IG1pZ2h0IGNvbnNpZGVyIHJlbmFtaW5n IGFsbCB0aG9zZSBz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