Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp979689rdb; Fri, 22 Dec 2023 10:27:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnH9H+v5aYwHnuGNZ/ZGTUDuKrHp8vkZVgVnhTkvtG4HtHZH9rfERi0BIg8Cg7HrpXVkDz X-Received: by 2002:a05:620a:1238:b0:77f:876a:48ba with SMTP id v24-20020a05620a123800b0077f876a48bamr1848281qkj.102.1703269673325; Fri, 22 Dec 2023 10:27:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703269673; cv=none; d=google.com; s=arc-20160816; b=DYRsbA6bx+RrKenX5x44DSiD60etT/5Oq0j6XY7XAFw5CCfXM/0LyuLkLrqMOtFwN6 xCNV5meWvYh8eihSkyaDIx/wsggwl83js51RF9FfWeAU1r8TeoUmGs78U6BFItOJDteQ uhzW0WTPC+O+DqBD4d/xtWbm2CYOkSmt/2XoSm1xuUGeoVCL9u7/ks4k5EGVkyTucPYP OGHrhmfITnqHPmoh/woqxPWWqkGL/2EBdOe+EzzFkMfKiN1GlKDIEi3kbVKjasZ6Escx PEAR3Hm6zgwoJVt+1m6ake/tICQHnDhO0CCy6glp0eP0oGDoKi45YmOYOdGW0dleBNDo skwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=s4vMZ8LXo1YuBC2wBlD1yZBrvAJeJuIofG2U3ZuFRVo=; fh=hFd6CdX7h3vctGhlBPCWGPxkbaZeXuGc68s024PuTYs=; b=PpOXG7KSHCBBDYtLCCc1NGIfxcvW3b/PEGCjmc+KEWJi/LmKRul6fL3iTGvFkESOmE Y4w2nyLv8iY14oV4d0lEOVdt/1mFAOSR/bCHPWXH+Vm/151kXUct7d+sTDVuJNerdPuC b9T2AFTFbBEPZ8pFRmJ7tn2kBwnPqGRsQwRqPCVvLjCjxCynXGhKbzLOr/fmm3yTIH53 QWMhvITp9FTshDbLBEC9Bos8ZZpuEqtSAtzCDIIMe5tg7HWL6Lu4XqEazDuvzYY98v9q JrI7MUurKtvD+eEv1xPoq9S626uqwQQRG93WPfDtc5IpRIEpJ7Pa54L/ROrBhnXwrtBa SvAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NAhYc/yL"; spf=pass (google.com: domain of linux-kernel+bounces-9996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bp40-20020a05620a45a800b0077f60bceeddsi5120654qkb.272.2023.12.22.10.27.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 10:27:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NAhYc/yL"; spf=pass (google.com: domain of linux-kernel+bounces-9996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1AD231C22515 for ; Fri, 22 Dec 2023 18:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DA9A2C1AE; Fri, 22 Dec 2023 18:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NAhYc/yL" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C6E92C196; Fri, 22 Dec 2023 18:27:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EFBFC433C8; Fri, 22 Dec 2023 18:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703269665; bh=jBq9Spzdcu2O8tozQzt3qro+Hc8ZCBz9msYeevvGov4=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=NAhYc/yL4nPXHaZxpww12ejmgPLYARUmsmPSjh0wE+OM9OYTseRA7ZjakcC0qb/HW +OxuSzRtIbeAXuPaNTpbf2HfyWwX7aKYnKMv9XYOyifOhmFDwzqP38XJceMk6uFFIj u+JCSa76kaHmUpn1ctMn1F8HzgO1BuBahXvONcdrJqCxx9O0UmIIfqffD4CEpspSYF Gb8zYibiQTXr1CRUgBydOvXWMWACWC5QwE2c8aEVnz06Gf/ZnIYlfhKDC+4YzaVfnZ wwi6WtTolgErLDgAAfoUQA1GtKJgFN8gdfWIF4wm0ROlAv8P3JDRCIJr6z+HYEPPE4 t7umGkk8ZXDWg== From: Benjamin Tissoires To: linux-input@vger.kernel.org, linux-iio@vger.kernel.org, Yauhen Kharuzhy Cc: Daniel Thompson , linux-kernel@vger.kernel.org, Jiri Kosina , Jonathan Cameron , Srinivas Pandruvada , Benjamin Tissoires In-Reply-To: <20231219231503.1506801-1-jekhor@gmail.com> References: <20231219231503.1506801-1-jekhor@gmail.com> Subject: Re: [PATCH] HID: sensor-hub: Enable hid core report processing for all devices Message-Id: <170326966337.2018208.16515231674277786077.b4-ty@kernel.org> Date: Fri, 22 Dec 2023 19:27:43 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.4 On Wed, 20 Dec 2023 01:15:03 +0200, Yauhen Kharuzhy wrote: > After the commit 666cf30a589a ("HID: sensor-hub: Allow multi-function > sensor devices") hub devices are claimed by hidraw driver in hid_connect(). > This causes stoppping of processing HID reports by hid core due to > optimization. > > In such case, the hid-sensor-custom driver cannot match a known custom > sensor in hid_sensor_custom_get_known() because it try to check custom > properties which weren't filled from the report because hid core didn't > parsed it. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-6.8/sensor-hub), thanks! [1/1] HID: sensor-hub: Enable hid core report processing for all devices https://git.kernel.org/hid/hid/c/8e2f79f41a5d Cheers, -- Benjamin Tissoires