Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2522460imu; Thu, 29 Nov 2018 06:22:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/WERn5Iw1BilN8dEPWC30qbXGsbtRqQkcEspiOyjWsVZ0urtMjeiJvZmwcx/KsL4zQ4AzYA X-Received: by 2002:a17:902:9047:: with SMTP id w7mr1684408plz.270.1543501330603; Thu, 29 Nov 2018 06:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501330; cv=none; d=google.com; s=arc-20160816; b=E5wFEr9R8kPX/7WA45thy3ss1C0myICRvw8pmB/xUD1fc4FoIEbW9GI0iMGJD6ekRW bqYx44kXQ3qnYlxtwNJzKGLxm80d2VvX999sAdypLtE5qjgMFzh4JRGlOD9CmWkonFbX 7Is7IJEuMdw82u51VAd0oppVlCTKlum19Q1qpbYhROV9r7VteKv3xC9qq/QS0Ydy5xDH R0Mlh/yIRCmf0lKIOYRZt517cTFT3AxPNV0OiXbJc4ZQfFiLkVoPgLhQBFp8WJ+Q86nQ jhF/rgn4RzuoiW+Rlhc/OASereME/y/7l7juy1WkTpxPhodQ3a8Nsvp0ruFVdW2OQB/u RNgQ== 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=f+srgeA/b50buRDhCEZsM4KNZW9LvXYJj08590MA2eM=; b=r+2N7R6JZHP9ki09Kb/o3gpxmUwztu1bXmhsf1evLPalEyUs17ZIYAPzN37SGzeKSm sFVRAmH4l6CBneVCvrg8WdOijLz1noQqZpOZMV6AkCBJ9eOyIG3l6cxtryEqIT+K5p+w t3u2FO4f5hXVXtWPjH1cZ6Dp3YW4jFNwIHiJ29EcVFsX1sw275Bbz0ALtKEIU+Mn862i S41gGEIHmf2wravuPcEfMJT8LKJQ9kGngkrHsoPk81oTv/DAykealuagH+c/AhDAI+DD a0Fp5XQEmdifLX3o0zlS65Z7CVQ/RixDBNB+utiomoSCQJvvYtpN68b51GHnqxzJ0LJv GuQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v6pwCwZV; 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 144si2080406pga.322.2018.11.29.06.21.55; Thu, 29 Nov 2018 06:22:10 -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=v6pwCwZV; 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 S1731083AbeK3BY4 (ORCPT + 99 others); Thu, 29 Nov 2018 20:24:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:48064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729808AbeK3BYz (ORCPT ); Thu, 29 Nov 2018 20:24:55 -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 936C721019; Thu, 29 Nov 2018 14:19:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501165; bh=/JcsLlROXQXV+Ab1fkcshu83u84+FODypWnLZF9D4kE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v6pwCwZV5LCqkthediYFQfVBOJ55ua7weqoS/8dHFtzTSJ7QgNjdEJa68xvjQJMt9 rE6guxVxp+Qq+WN2tAPoGZzxcoCCahoyv/3zncKpG9ngz95ex2zyAnLX9RKX4xKM81 uavA53PsfuzEu6K11T6owl8b3c9M6WzNlesLBOb4= 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.4 68/86] Input: xpad - add support for Xbox1 PDP Camo series gamepad Date: Thu, 29 Nov 2018 15:12:33 +0100 Message-Id: <20181129140115.591494600@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140109.832117862@linuxfoundation.org> References: <20181129140109.832117862@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.4-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(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 69b44aebaf01..2e52015634f9 100644 --- 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_packets[] = { 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), -- 2.17.1