Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1309049pxu; Mon, 23 Nov 2020 17:58:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJKnScXB3Tzz8tBEZaB530KJPZEGdbuoPjQrv6jNUUE7T8BvjbHsE2Xya3OWF9xCD9T5+h X-Received: by 2002:a17:906:3ac2:: with SMTP id z2mr2172141ejd.26.1606183123340; Mon, 23 Nov 2020 17:58:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606183123; cv=none; d=google.com; s=arc-20160816; b=mgijvR9pV2hBA9eCwati13W2GvUO5L5x4bJ7aSMITr0XSkA1VU4TR80+9R1d6I1ZLV /wMTs3M5wQeDa8ueJVwiWphcYWLXgceeEunsxeJtjz6MSCmBmZgLMRrvXav99B+Zn0OW pWVbKB9Ufa5t4Bl0/9JOTlHvYL3u6X91bVpF8S3pY6KmuF3jblEGBsYWZmMaMhP4xDN9 728Fvng+3ATRaIL90k/aYzjCUabVviblni1TE3KaFl0PjLnGAnYH8KXUJqJbvvx0ZMMV p+j3Vn/0sfkK/7F7PYWQ4/V1JSaHkaOhg1LJ+BcO2CUWZgwrJtIkPxLArc4GWCvf9geM 2zIQ== 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:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vudmJC52owMkMgDjmSyZ+BYZEnVvIWQypKmbbLkLSOY=; b=c4gzrdEDXsl5GlLzS0BGn0G6D9n0tf180XY5MVvRfvb4ULDk6FxTpNeEn447qlgH2v V9w4oS77Ya4Bfcl4BwC8AApAWLviRXxFe38awzC37sM4kHbW7VFAOaLNjSE7lW6NAFZ9 P9FD8/bc/iv5mf3SZmx46dH0gyIv8i/2Dc4IY/+Vez1KKBGBsueewhMkb3V2tYY6R00Y fDg/ixY9l2NPjhb1sjwnxaXO9b7daCPEHu7/RKuw1X6i9c0b0Pa8xF5ODyUGO76ELOaP u02K2Xsdv2YCirY/Q49qfrrRHEZQB0NYFotiE3/Py4VQzBoetOSDH803qnUK+vTXqjLf pwXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=s9bWoyrm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qu6si7542586ejb.528.2020.11.23.17.58.20; Mon, 23 Nov 2020 17:58:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=s9bWoyrm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732537AbgKWMkm (ORCPT + 99 others); Mon, 23 Nov 2020 07:40:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:53528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732529AbgKWMkj (ORCPT ); Mon, 23 Nov 2020 07:40:39 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5EA0820857; Mon, 23 Nov 2020 12:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135238; bh=4tkJfRLL+x/vtIR/vHVvnhcoeEplKQ4liZAcFlzeWA8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s9bWoyrmW7V4YQ0H6Jqx39xTJwBcODRABD3xKko0AW+0uoM1XMHAimfRu4rce1xuE gHfQAoghN1YHOgO0JFkLdpKtqmf5YR6KmDNipBJjXiH3OyGM0qZ5hrnQCF5Kzy/ae6 DvvcJy6twVoLCcyL1gQKixd9L4RpvVKLYohmX+5A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Benjamin Tissoires Subject: [PATCH 5.4 125/158] HID: logitech-dj: Fix an error in mse_bluetooth_descriptor Date: Mon, 23 Nov 2020 13:22:33 +0100 Message-Id: <20201123121825.963444706@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede commit eec231e060fb79923c349f6e89f022b286f32c1e upstream. Fix an error in the mouse / INPUT(2) descriptor used for quad/bt2.0 combo receivers. Replace INPUT with INPUT (Data,Var,Abs) for the field for the 4 extra buttons which share their report-byte with the low-res hwheel. This is likely a copy and paste error. I've verified that the new 0x81, 0x02 value matches both the mouse descriptor for the currently supported MX5000 / MX5500 receivers, as well as the INPUT(2) mouse descriptors for the Dinovo receivers for which support is being worked on. Cc: stable@vger.kernel.org Fixes: f2113c3020ef ("HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver") Signed-off-by: Hans de Goede Signed-off-by: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman --- drivers/hid/hid-logitech-dj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hid/hid-logitech-dj.c +++ b/drivers/hid/hid-logitech-dj.c @@ -328,7 +328,7 @@ static const char mse_bluetooth_descript 0x25, 0x01, /* LOGICAL_MAX (1) */ 0x75, 0x01, /* REPORT_SIZE (1) */ 0x95, 0x04, /* REPORT_COUNT (4) */ - 0x81, 0x06, /* INPUT */ + 0x81, 0x02, /* INPUT (Data,Var,Abs) */ 0xC0, /* END_COLLECTION */ 0xC0, /* END_COLLECTION */ };