Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F0BEC678D4 for ; Tue, 7 Mar 2023 10:31:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbjCGKbD (ORCPT ); Tue, 7 Mar 2023 05:31:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230424AbjCGKad (ORCPT ); Tue, 7 Mar 2023 05:30:33 -0500 X-Greylist: delayed 569 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 07 Mar 2023 02:29:48 PST Received: from mx2.securetransport.de (mx2.securetransport.de [188.68.39.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFD9D3433F for ; Tue, 7 Mar 2023 02:29:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1678184235; bh=BFTwUDeGFqh4A6+N9nOPx07VhAZjWjW2pJsFRPj4D7s=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=usJiyu4qwKjoxQ0qJAi6sONGVcqwQMGygNZQIdozYcmHxFj3rS/GaVt5jVyFi8d7B 0JS5Cvdgl4YEi3ndRlr2zdipL1Y+ExF+685btufIAjXimFdPDSUeYBLcF7XxSamQqY QWWKJvS4zYd0PZI/3VPCSsPurtSvsukHDdAlV8dkN8wAUpcEHlW4QmxYj9DAfHSQxl n0UcAzL1B6zy57dG5zge3JlwwzBj8bfzlAYuZkTC6uEcOLIt7FOAuQdqUN8rj53pyR ByHm+UcqzMaScFcZVLpwUqzWhO1VljKmOEVGxmSMP3KGo3Xfto0jIM9O3DWEl5lZ/9 9HxYqE9HuQmCQ== X-secureTransport-forwarded: yes From: Christoph Niedermaier Complaints-To: abuse@cubewerk.de To: Lee Jones CC: "linux-arm-kernel@lists.infradead.org" , Support Opensource , Adam Thomson , Liam Girdwood , Mark Brown , Marek Vasut , kernel , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH V2 1/2] mfd: da9062: Remove IRQ requirement Thread-Topic: [PATCH V2 1/2] mfd: da9062: Remove IRQ requirement Thread-Index: AQHZPHSeb7eUOHEwkkmsB+GOZ+9epq7ozlWAgAZufVA= Date: Tue, 7 Mar 2023 10:17:04 +0000 Message-ID: References: <20230209105144.9351-1-cniedermaier@dh-electronics.com> <20230303084153.GI2303077@google.com> In-Reply-To: <20230303084153.GI2303077@google.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGVlIEpvbmVzIFttYWlsdG86bGVlQGtlcm5lbC5vcmddDQpTZW50OiBGcmlkYXksIE1h cmNoIDMsIDIwMjMgOTo0MiBBTQ0KPiANCj4gT24gVGh1LCAwOSBGZWIgMjAyMywgQ2hyaXN0b3Bo IE5pZWRlcm1haWVyIHdyb3RlOg0KPiANCj4+IFRoaXMgcGF0Y2ggcmVtb3ZlcyB0aGUgcmVxdWly ZW1lbnQgZm9yIGFuIElSUSwgYmVjYXVzZSBmb3IgdGhlIGNvcmUNCj4+IGZ1bmN0aW9uYWxpdHkg SVJRIGlzbid0IG5lZWRlZC4gU28gdGhpcyBtYWtlcyB0aGUgREE5MDYxLzYyIGNoaXANCj4+IHVz ZWFibGUgZm9yIGRlc2lnbnMgd2hpY2ggaGF2ZW4ndCBjb25uZWN0ZWQgdGhlIElSUSBwaW4uDQo+ Pg0KPj4gU2lnbmVkLW9mZi1ieTogQ2hyaXN0b3BoIE5pZWRlcm1haWVyIDxjbmllZGVybWFpZXJA ZGgtZWxlY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QgdG8gY29uZmlndXJl IElSUSB0eXBlXG4iKTsNCj4+ICsgICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmV0Ow0KPj4g KyAgICAgICAgICAgICB9DQo+Pg0KPj4gLSAgICAgcmV0ID0gcmVnbWFwX2FkZF9pcnFfY2hpcChj aGlwLT5yZWdtYXAsIGkyYy0+aXJxLA0KPj4gLSAgICAgICAgICAgICAgICAgICAgIHRyaWdnZXJf dHlwZSB8IElSUUZfU0hBUkVEIHwgSVJRRl9PTkVTSE9ULA0KPj4gLSAgICAgICAgICAgICAgICAg ICAgIC0xLCBpcnFfY2hpcCwgJmNoaXAtPnJlZ21hcF9pcnEpOw0KPj4gLSAgICAgaWYgKHJldCkg ew0KPj4gLSAgICAgICAgICAgICBkZXZfZXJyKGNoaXAtPmRldiwgIkZhaWxlZCB0byByZXF1ZXN0 IElSUSAlZDogJWRcbiIsDQo+PiAtICAgICAgICAgICAgICAgICAgICAgaTJjLT5pcnEsIHJldCk7 DQo+PiAtICAgICAgICAgICAgIHJldHVybiByZXQ7DQo+PiAtICAgICB9DQo+PiArICAgICAgICAg ICAgIHJldCA9IHJlZ21hcF9hZGRfaXJxX2NoaXAoY2hpcC0+cmVnbWFwLCBpMmMtPmlycSwNCj4+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyaWdnZXJfdHlwZSB8IElSUUZfU0hBUkVE IHwgSVJRRl9PTkVTSE9ULA0KPj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLTEsIGly cV9jaGlwLCAmY2hpcC0+cmVnbWFwX2lycSk7DQo+PiArICAgICAgICAgICAgIGlmIChyZXQpIHsN Cj4+ICsgICAgICAgICAgICAgICAgICAgICBkZXZfZXJyKGNoaXAtPmRldiwgIkZhaWxlZCB0byBy ZXF1ZXN0IElSUSAlZDogJWRcbiIsDQo+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICBp MmMtPmlycSwgcmV0KTsNCj4+ICsgICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmV0Ow0KPj4g KyAgICAgICAgICAgICB9DQo+Pg0KPj4gLSAgICAgaXJxX2Jhc2UgPSByZWdtYXBfaXJxX2NoaXBf Z2V0X2Jhc2UoY2hpcC0+cmVnbWFwX2lycSk7DQo+PiArICAgICAgICAgICAgIGlycV9iYXNlID0g cmVnbWFwX2lycV9jaGlwX2dldF9iYXNlKGNoaXAtPnJlZ21hcF9pcnEpOw0KPj4gKyAgICAgfQ0K Pj4NCj4+ICAgICAgIHJldCA9IG1mZF9hZGRfZGV2aWNlcyhjaGlwLT5kZXYsIFBMQVRGT1JNX0RF VklEX05PTkUsIGNlbGwsDQo+PiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2VsbF9udW0s IE5VTEwsIGlycV9iYXNlLA0KPj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIE5VTEwpOw0K Pj4gICAgICAgaWYgKHJldCkgew0KPj4gICAgICAgICAgICAgICBkZXZfZXJyKGNoaXAtPmRldiwg IkNhbm5vdCByZWdpc3RlciBjaGlsZCBkZXZpY2VzXG4iKTsNCj4+IC0gICAgICAgICAgICAgcmVn bWFwX2RlbF9pcnFfY2hpcChpMmMtPmlycSwgY2hpcC0+cmVnbWFwX2lycSk7DQo+PiArICAgICAg ICAgICAgIGlmIChpMmMtPmlycSkNCj4+ICsgICAgICAgICAgICAgICAgICAgICByZWdtYXBfZGVs X2lycV9jaGlwKGkyYy0+aXJxLCBjaGlwLT5yZWdtYXBfaXJxKTsNCj4+ICAgICAgICAgICAgICAg cmV0dXJuIHJldDsNCj4+ICAgICAgIH0NCj4+DQoNClJlZ2FyZHMNCkNocmlzdG9waA0K