From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 78834513548; Wed, 30 Sep 2026 16:38:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790786300; cv=none; b=k9ED6OW/zQwJi6o0VaaqUsa4GtUKtSV2TURQEEkePx9a7T2pvmIrASlG7npaQDJ54pkZyFvlFbqMkI3JAwZA2pRubWU+9yIde4UCUnuDoHqC0MTtPrGNZPq4bIklTrwHULmfG8GGxcX80APcTzDL87SRkAr7ljVjYuojsR2gQIA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790786300; c=relaxed/simple; bh=rKfM46VccD52BB57k0kY9K93dHi5oNaXhQcUjGrrUNc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H1lARSXLs32GXWw1rDjl+C90BFwBSPn7ZVthqAu43+X3lHrT14uukeVPOWK0495txI+t9o01Zh6pW46C31jCXyYnLKv0K85YOiOaMSdi+EJ7IOtx/F9jEoxKEa//ZVozVnJ4l7SLAJjGsJhTp9s+3R6rhd4pPkLtkjcZYk/roYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SsQr2qw5; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SsQr2qw5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA2A41F000FF; Wed, 30 Sep 2026 16:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790786299; bh=D1EcwSLPVSs3+4YptpCpvsyuOrSm1yhoLQp95VZbsIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SsQr2qw5+KYlfiy5r2ESiLyZm3O+Z5G0uk9j3sQUeKn06CwssEq6cMPLKAfadC5Jl 3EKqpAjZKoZwf1kG6oI+YpC7sRGM4O+M35ed6w0LvYTzi6n6Xe+fJ59dRYmHecQGMW bf0IwybzvPBimpaWGNS+zkj+Kci3c7svpA8Px0V0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Oscar Priego Verdugo , Jiri Kosina , Sasha Levin Subject: [PATCH 6.1 812/982] HID: elecom: fix bus type for M-XGL20DLBK Date: Wed, 30 Sep 2026 17:25:48 +0200 Message-ID: <20260930152434.201279598@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260930152416.775402466@linuxfoundation.org> References: <20260930152416.775402466@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Oscar Priego Verdugo [ Upstream commit 8e2a4b458ad25e13422bb059758c30a6562aa9cf ] The M-XGL20DLBK is matched as a USB device by hid-elecom, but its entry in hid_have_special_driver[] uses HID_BLUETOOTH_DEVICE. This prevents the special-driver quirk entry from matching the USB device handled by hid-elecom. Use HID_USB_DEVICE there as well. Fixes: 55633e681afb ("HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse") Signed-off-by: Oscar Priego Verdugo Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index 657f51f6b9c58..af2534ae6201a 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -404,7 +404,7 @@ static const struct hid_device_id hid_have_special_driver[] = { #endif #if IS_ENABLED(CONFIG_HID_ELECOM) { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, - { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XGL20DLBK) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XGL20DLBK) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_HT1MRBK_01AC) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK_00FB) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK_018F) }, -- 2.53.0