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 1CF39C636CD for ; Fri, 10 Feb 2023 08:30:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbjBJIaY (ORCPT ); Fri, 10 Feb 2023 03:30:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231365AbjBJIaV (ORCPT ); Fri, 10 Feb 2023 03:30:21 -0500 Received: from IND01-MAX-obe.outbound.protection.outlook.com (mail-maxind01olkn2059.outbound.protection.outlook.com [40.92.102.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F068A38653; Fri, 10 Feb 2023 00:30:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GC9RlqIIevwiAXT1qlEmK09BcHVUup7dWSQzzRErt6F/cwPxO9NEL1ZS8s64vjs6nSMnOcwY+qxVXrtCv7v2eNWNsSt8afEaqwWw+qtwqriup2XW5m6sQ4iFiW6s15uN9ZhmSsUT4PW2xVoaq/6c5cuxbttF7+EFAjIpi/tUVy2LckrVpOyBm9jzTf2ovZmOHk7z2MrCqwWHdQlHWxWZHRtHIm9Kn7VR4hY5HLlT9GT4SEFAu6SAsjqNaIuTBJoqhNBAzWcFEd9MKKWp8ZYA8fQR2dlsm89wSGqwtvKQlDYl3N7HyBwsw5sE3LVUSHVOg3uXEIbR4+37v03zdATQFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=onrGzcq0NBx5LMznhdxiD4hKfOj7nXgzBCTiJ32ulK4=; b=AU+vkSSJleYuXBoGiP7dgNKOpqvT3fm0r4/EjdiLQAdCqp5V/RWcgLgrCtEsfCee+DRaxtMrzFQOU/vEuGmbQ5m4BjJBRhhI0WA4wAejWBCIKbIAhhExgzqyKvzOR4hGektt+1l/WieZcdA+pZOW13bMTHDNCwuWS33T+yFK9bW7tniK5bJoAhk7q61drPTGNioBCQxgzPjz2lpjKt1TuBIY6DKuBNHHavljW+G2oelKqhzweiYg8A7XFZDinDCKcbjuUVHjB3zCjRzaY6vBkZa53eP32u+PYMa8uiJbgPuKMyeCJL19rjLaqKXCeY9nFEQ/dG77JnntkWMRoi1NAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=onrGzcq0NBx5LMznhdxiD4hKfOj7nXgzBCTiJ32ulK4=; b=iZfhT1GPm7qg9Q+S67pnJxh9+dS99u/mNkxhD0k4aZiiveHQ+C5Led1GwicuCQbOuUj31Im2ox2QHaNkAhvIiQpQmEoX7DCaIXJGRkNpmvcpkskIs1jgKhanms9GnPaC1C7GfuuA+dpoIGIL9NfT0E40tjSGJAXkg+HWa7ZcJQFcVvWKyD9Qk52Phjfw5NQtPSCzLUEnFYw/bgLKteP/VWn+7klYBPfRk+Js2l6mRX3fjqyaiQ0nkwvUJe90BOFo6FtY7cuDbhYld0/yZ5kZaPTwpgTEGVlhz/TnSX0Fl1C8A9Q5B/u8ReDIStwEBk+AzbruZKHVj/l2jDVqhXzxmg== Received: from BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2::9) by PNXPR01MB7185.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:c4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.6; Fri, 10 Feb 2023 08:30:13 +0000 Received: from BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM ([fe80::9dc7:9298:c988:474d]) by BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM ([fe80::9dc7:9298:c988:474d%11]) with mapi id 15.20.6111.005; Fri, 10 Feb 2023 08:30:13 +0000 From: Aditya Garg To: =?utf-8?B?VGhvbWFzIFdlacOfc2NodWg=?= CC: Jiri Kosina , "jkosina@suse.cz" , "benjamin.tissoires@redhat.com" , Andy Shevchenko , "andy.shevchenko@gmail.com" , LKML , "linux-input@vger.kernel.org" , "ronald@innovation.ch" , "kekrby@gmail.com" , Orlando Chamberlain Subject: Re: [PATCH 1/3] HID: apple-ibridge: Add Apple iBridge HID driver for T1 chip. Thread-Topic: [PATCH 1/3] HID: apple-ibridge: Add Apple iBridge HID driver for T1 chip. Thread-Index: AQHZPQwM5DSulXBskEykQ8jgSAssVq7H2aOA Date: Fri, 10 Feb 2023 08:30:13 +0000 Message-ID: References: <40274C3D-4F4F-479C-944C-EEBDC78F959C@live.com> <20230210045624.cjxroikmmvm3liij@t-8ch.de> In-Reply-To: <20230210045624.cjxroikmmvm3liij@t-8ch.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [kATHbdQpdibsPMJ+vtZWodyB/1P5LZa7] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BM1PR01MB0931:EE_|PNXPR01MB7185:EE_ x-ms-office365-filtering-correlation-id: f76e45e9-1d8a-4303-ecc1-08db0b4107ed x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PNMB/xJ4ETepKU3kBf44uhSrtltgPqOZME5X9TTi8VXUzd39fWQL+tDSLXv8k0KFWyVUwHosCxxkRbGD7rti1yUTm5GI7pAb4qR+0vcv8DTqw0opikkxkE72sF/2XNKcC2bYyXqIYuKCC50LNNm2ljOVRHgwxsoRZIlH1jg319pC7OvPpzu+WmC3AUVBVLTLxeiGab/GC8gF7x8qMCTNqZ3j0aAaWHcUAA9LR1sadiECMlphMO8CREhI1zUKMNXI0Vo6Pr6C+NZwyU1+2BqnghlK2aQOh5emxTymfChdhkq1wSAKK1+GB2SNQf/nu4kWBZo6itLPKwMzOCkDjriZEQimalxv/FUNYGxDvvRrTkdDobWAdA8FwrTuuQsMRzc5zHovi3+BitU6L54WNsbNqXW45ELH5dNHA8JdE79rn4yqWBQemjakdWo+zbfuBTUvzQE3H9GcNVlQlC6pRX9vAtl8fnFszak9oBHVy5BfMOaRcroasY3wYK9cjGB6tidtB52noAeLYalLBlskEOGkHHUqRSKQ4abj2oqusBMljOzmnTckyuXSk6cz6pxA0EGWI+N7GfSu+2QjL+SQqPBo7eEQmfAdJ86JEwElhU4u9JwnyME1/5hEmm+/XLFNGLeeDcl4Va4eyvh+EA4SDrM/Og== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?c09xR2RzM25lNEErTkNTSWxHZm42U0FUa2Z2NkNxa1piNEIyd3NUZk4vbzh4?= =?utf-8?B?MUNuY2YvTEN1emJhYWFVQk9JOEZHZmg2M1I5L0gvOWtjWW1pSHpjUjhVc3J4?= =?utf-8?B?WVlJaThyNjhrOXFNN2VxdXhodVk3djZsbThMS2tUSkhLdVFhdjNMWTFYdXVx?= =?utf-8?B?S0J5OWxZWmhpN3VCSTJyV05laDZtRE9valVKSzZFMWxvMUoxZk83anFMYUZz?= =?utf-8?B?MjY4TkdWNzlEczk5WkdFUCsvTzAwNHhXZERKMzJuSDltU1N4SnZHSWpTZitI?= =?utf-8?B?YUQ1K241WHNoM0hnWWZvRDN3d1JYMnBTNlZXZW1pblBXYVlVZEtUY3lIT2tX?= =?utf-8?B?KzRmZ0Y5QU1iZS9hdDl2YnZManI5T0FiRUJsUXo0OHFKZ2VVWDB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ZjbDBxWUFvcmhHbWNTbDU5?= =?utf-8?B?eUtjYTQ4KzBkdE9MQnpPZmtFOEI3U1BSbDhqU01OTGs5YXBlM1hLcVhUdGVQ?= =?utf-8?B?cFFOWFU3cnZXWjNOZTF6RGM3bnJEb3JBMW1ZQlVBWXBNRzVZRXgyZGJENW53?= =?utf-8?B?S1hqb1lCWTdGRU1qb3pHR1Q5dW8zNjdFT1EzNGozRERjcU1ZTERjZldhaEJ3?= =?utf-8?B?eEE2WjN1QnVzZ3ZjZjh5NlJkZ3R2bGowcDFXdW1mQSt0OC9WdzNzY0YrOHhv?= =?utf-8?B?VEFab3RBb0UwNUpKNzBUQytLS0UrN1RNTzVXWThydDJkTlc1SEEzZHkxYmZh?= =?utf-8?B?YkNreEZwMFBSY3JjSmN3bHJnNWVCZkxwTTBpcWpNeElqVjl5OERiV2tueGQ3?= =?utf-8?B?TWNsdnlVbWN5SFNnSUZIRVlaUENWL2pyemNQVU1NNTBsY2ZHREp5UTdRPT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: <558D9CDF6300D7439111DC46510D7233@INDPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-42ed3.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BM1PR01MB0931.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: f76e45e9-1d8a-4303-ecc1-08db0b4107ed X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2023 08:30:13.6401 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-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