Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2552628imu; Thu, 29 Nov 2018 06:47:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/V6S8MDBbNT8lpEpWEN5lmDqywmWnwmsmT+0AV4zE02gBttOHXUwOkjKEvrX6LzNbbXfXdb X-Received: by 2002:a63:b649:: with SMTP id v9mr1491564pgt.436.1543502877022; Thu, 29 Nov 2018 06:47:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543502876; cv=none; d=google.com; s=arc-20160816; b=u2uiSrv6dmunoHulRmgF2c2EIIxAGVCBt2UqJT/he0FVTfJH4jjhsfBw/+HajiHP8a k/Px/3ErK4iatKJlYhDLZZZH05ocQME2mitoXGcfvML3NT3r02dA14DsR0P+OsETbEH0 VFh+xxsTyoa7NJr9UMz5QufFQnT3ccZodsO00yLUhc2204uBnBdOqHmoF0GBn6qLCvLH QgvyJUA+s8AmLllXDIXZVH47VnuVmZjJYPyFDMX01cbDxL8X7lr5NjDmFmgOBv7C26zG k89QV89bYr+y64lS3eC2g62HbfOeOEFC7xPB3nY00Ia8dw6tJiahK/+C4CTXRy6HQMpM UDbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=u89YAbMOuHHjwEhJi2vV3KzyxPpum4FLeF9No+aHsqg=; b=AxL0g5x77rvBK4KAfw67iEo8XaIid85+H+7buV+HBardc0yB24rLhDIy4vUR1VdUci dL2nz1BMuUAn2CGC4cekmyiFH1CEt6gQp56Bh1kMnlbYg0ilNAX4R6UAcnOqdEkDH5On gJAth5d42rnF6lF216Bd5LQqFzgNdb4TI1GXNfpbKzPDEcppBDtURTp1vfC0zVQ2bMn5 El9LDMK04Tl64gGEabfRjy/SVzMcXv0F7Hj8cypVzj+aN2J5p0VXa4VY3NkHAiVmVS41 cjh5KIJtbGUu4L/Jcxai0Br0E59r06AD7rjvolNKcj9+0qvPqaEHhdEgzCqwj4GUD9YM o2lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1sNqa1Of; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay4si2241466plb.235.2018.11.29.06.47.41; Thu, 29 Nov 2018 06:47:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1sNqa1Of; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387642AbeK3Bcu (ORCPT + 99 others); Thu, 29 Nov 2018 20:32:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:33026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731824AbeK3Bcu (ORCPT ); Thu, 29 Nov 2018 20:32:50 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 590C62146D; Thu, 29 Nov 2018 14:27:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501637; bh=SIDSeRwAg+wK4b4m5RC3yWx+g9JNteb6gU0BOc+Zto0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1sNqa1Of0cHHblbrSgsuGPmNIw+eAkyT9lx7+0Z4fts5MAApeaRekzosRat5II3xQ GWdxqY1a4wyibCYBLxw2N+K2Kbpz3eI8H2EKH3F2a2anjly8ThTRhHZ3uHQ3WnFJKW yNhaWfKMWAhRngbrmfezonRk3TpXVxLzOJ7QAWqg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Ramses=20Ram=C3=ADrez?= , Dmitry Torokhov , Sasha Levin Subject: [PATCH 4.14 078/100] Input: xpad - add support for Xbox1 PDP Camo series gamepad Date: Thu, 29 Nov 2018 15:12:48 +0100 Message-Id: <20181129140105.500618825@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140058.768942700@linuxfoundation.org> References: <20181129140058.768942700@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 9735082a7cbae572c2eabdc45acecc8c9fa0759b ] The "Xbox One PDP Wired Controller - Camo series" has a different product-id than the regular PDP controller and the PDP stealth series, but it uses the same initialization sequence. This patch adds the product-id of the camo series to the structures that handle the other PDP Xbox One controllers. Signed-off-by: Ramses Ramírez Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/joystick/xpad.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -234,6 +234,7 @@ static const struct xpad_device { { 0x0e6f, 0x0246, "Rock Candy Gamepad for Xbox One 2015", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x02ab, "PDP Controller for Xbox One", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x02a4, "PDP Wired Controller for Xbox One - Stealth Series", 0, XTYPE_XBOXONE }, + { 0x0e6f, 0x02a6, "PDP Wired Controller for Xbox One - Camo Series", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x0301, "Logic3 Controller", 0, XTYPE_XBOX360 }, { 0x0e6f, 0x0346, "Rock Candy Gamepad for Xbox One 2016", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x0401, "Logic3 Controller", 0, XTYPE_XBOX360 }, @@ -533,6 +534,8 @@ static const struct xboxone_init_packet XBOXONE_INIT_PKT(0x0e6f, 0x02ab, xboxone_pdp_init2), XBOXONE_INIT_PKT(0x0e6f, 0x02a4, xboxone_pdp_init1), XBOXONE_INIT_PKT(0x0e6f, 0x02a4, xboxone_pdp_init2), + XBOXONE_INIT_PKT(0x0e6f, 0x02a6, xboxone_pdp_init1), + XBOXONE_INIT_PKT(0x0e6f, 0x02a6, xboxone_pdp_init2), XBOXONE_INIT_PKT(0x24c6, 0x541a, xboxone_rumblebegin_init), XBOXONE_INIT_PKT(0x24c6, 0x542a, xboxone_rumblebegin_init), XBOXONE_INIT_PKT(0x24c6, 0x543a, xboxone_rumblebegin_init),