Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6206539rwb; Wed, 18 Jan 2023 02:29:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTHKam8bSyWY62KUmj9mu6Ywq2a7AZhRF9LWBFt2/bbDDwvv7MpkvwYjyI6bx4yCyYipVs X-Received: by 2002:a17:902:da91:b0:188:760f:d831 with SMTP id j17-20020a170902da9100b00188760fd831mr9344644plx.7.1674037754359; Wed, 18 Jan 2023 02:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674037754; cv=none; d=google.com; s=arc-20160816; b=A0nMz9c1mNAidg/Of17wO7yQgG3i0SN21yOQf40C0fLqYN7AC/AibvfsJy7kaeqKUz zpTC9kx9QIBFTHYgYJVvaujzIPRUv0gf99vBw6YggE8CR8IaPEnKomCrLPoQZ+iApuNy WUOEYckVNM15COXXB+BnDYCQJsmfzGgNTpQFvFX1YRDg/1dzFYHJPqJNLg2Bh496HC8s A4lghqZkNxQW0VbNSquXvZuRm2E9i/5kqUUsQPCPAevQfVJH07CskZFEqid6cv9VsA9R rHDQWAvNf5KfalUpBOM2CltRFH+Zp+PD2yDnp31EPHsoRbYoJaE9X2bl/M8qEAkZIMn5 23EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=PIxqbxya5fAtpPpVses52HnqjHJnnlXPnmJCfIGxLHs=; b=SLu+KlrF3XH+SAS8aMzYv9Y7Q5M0RklC44qo9Jbrs6XcddcxRzXsPq9h0wpldf3N+u 9SuDIpzIxVxmkdTLVJGl05siUkomTkhXqg6j+ZDrAPt2XepgK/VOEJx6bG8MuyRi1RfL c201fJ5aSGpZfwFdv2LtrcAiujwshPEstpRgDjDdUWJ6IMOJgd0xHIDQUhes2PAxyVDK 8FPYw2BeEhMnQW7dwyGhyLeO5ZFNRJOj2TRunvCganDdiGUx27Dmde9S1og3Jz9NuUq7 fazcLsPODNR6jLr6Z0dQMuNiwejYjKr/who3VTsy/kcPSjAnbngRegB+ie3egr5CelN0 lSVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YhCyzSQc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a170902ea0900b00192f6c63f54si38581283plg.502.2023.01.18.02.29.08; Wed, 18 Jan 2023 02:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YhCyzSQc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229739AbjARJh7 (ORCPT + 45 others); Wed, 18 Jan 2023 04:37:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbjARJfC (ORCPT ); Wed, 18 Jan 2023 04:35:02 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0396A193DE; Wed, 18 Jan 2023 00:54:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9F81BB8118F; Wed, 18 Jan 2023 08:54:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60D8DC433F0; Wed, 18 Jan 2023 08:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674032086; bh=qpbIsiLmAWo/Yyxp9eZJRCZtQ25fsobPBsJ/XpH9rEA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=YhCyzSQcoTw8iqjo7c+CNIZCUhXds2k7rVb4XcN+Joyx3dW8gmlKluhfsTdV3fZnk Iz/A/2/KJqWZgb5dto5rbgTDx2HxISQyNyOvPDB3IC69jd1xhL4gLmFmRq29q4K9eF R1MdX8X/dqciwv9WSJhx3AiF0ixAjtKGqI1J8QIyYRXMIcZSL7Pfae6XvKRahJjr5M HoFCeHmLT7BnzDvklHdLeuatRGc2TIMBnxKgYUQRpYLdDwhCj68WLntkVR/AiX+XOY kwxMEVSNtdsO8rOkSoLI50KY1EWy6g6QYy/vfrlN9Mdw3Z/DJse9EfEO7wZjEuxDao 0P70JC9bKnDbA== Date: Wed, 18 Jan 2023 09:54:46 +0100 (CET) From: Jiri Kosina To: Aditya Garg cc: "benjamin.tissoires@redhat.com" , "jic23@kernel.org" , "srinivas.pandruvada@linux.intel.com" , "linux-input@vger.kernel.org" , LKML , "linux-iio@vger.kernel.org" , "orlandoch.dev@gmail.com" , "ronald@innovation.ch" Subject: Re: [PATCH v3] HID: Recognize sensors with application collections In-Reply-To: <9E66CF6F-99A0-4CC5-9FA0-3A9DCFCA0388@live.com> Message-ID: References: <8DA00FF4-DB08-4CEC-A5B4-47A71DC09C13@live.com> <01D620E2-18CA-40F6-A330-454CBC20C542@live.com> <9E66CF6F-99A0-4CC5-9FA0-3A9DCFCA0388@live.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Jan 2023, Aditya Garg wrote: > From: Ronald Tschalär > > According to HUTRR39 logical sensor devices may be nested inside > physical collections or may be specified in multiple top-level > application collections (see page 59, strategies 1 and 2). However, > the current code was only recognizing those with physical collections. > > This issue turned up in the T2 MacBook Pros which define the ALS in > a top-level application collection. > > Signed-off-by: Ronald Tschalär > Signed-off-by: Aditya Garg Makes sense. Queued in for-6.3/hid-core. Thanks, -- Jiri Kosina SUSE Labs