From mboxrd@z Thu Jan 1 00:00:00 1970 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 064C8352FC2; Tue, 26 Aug 2025 14:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756217148; cv=none; b=WWJvqzbyFvpPAIHLnRcms7pwpPAu5Quqw9lrtBKlUW/mdGk4z4NFFBlEw2h9ul9YjUt8bjAKSFXrKM0FVDcHZb/xUzOkO1TjTjPdcG8Lp6bvHSmxFPnK9Lzv9Vm31tBtNFDh93oOOvBDRHybr7tLVE+AHUIt0VEwScdH4IukGMs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756217148; c=relaxed/simple; bh=nV+P/9zyps6fSl4L1SNie630NIfFb+7VSM5rnRQtZac=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kew/0Jws0vzMYkd3H1QzNrPkAyx6oEzv3ZV+89lbcwId0A+CxW8ZddglvNaXnlYXKS8PsJ15msogmZhEgJuhg7+FkI1AxcGc396II9i8goJ+QFkusOa9liW+tK0s/oO60J8pzsFEZbk7MgyHEoCieqHA+fV5VHNr6fejGTMB/Wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MWye1wVx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MWye1wVx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87934C113CF; Tue, 26 Aug 2025 14:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756217147; bh=nV+P/9zyps6fSl4L1SNie630NIfFb+7VSM5rnRQtZac=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MWye1wVx56vcWb5ZQO+23RiV1cuCS0pzuq67PCibhqTB1ms3lSOIfEdxyxxMM1EWX DrfrL+B4U+UJZ6f3eOFAovmBi847JQtJryjDaJ9Ek3Qe88xjUQT3yrHOcMXkqHJghq HfuKLMnh+boyYbbS88ggJ0zWuvOv1lKyHybBLKAQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Vicki Pfau , Nilton Perim Neto , Dmitry Torokhov Subject: [PATCH 5.10 008/523] Input: xpad - set correct controller type for Acer NGR200 Date: Tue, 26 Aug 2025 13:03:38 +0200 Message-ID: <20250826110924.782363238@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250826110924.562212281@linuxfoundation.org> References: <20250826110924.562212281@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nilton Perim Neto commit bcce05041b21888f10b80ea903dcfe51a25c586e upstream. The controller should have been set as XTYPE_XBOX360 and not XTYPE_XBOX. Also the entry is in the wrong place. Fix it. Reported-by: Vicki Pfau Signed-off-by: Nilton Perim Neto Link: https://lore.kernel.org/r/20250708033126.26216-2-niltonperimneto@gmail.com Fixes: 22c69d786ef8 ("Input: xpad - support Acer NGR 200 Controller") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/joystick/xpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -142,12 +142,12 @@ static const struct xpad_device { { 0x046d, 0xca88, "Logitech Compact Controller for Xbox", 0, XTYPE_XBOX }, { 0x046d, 0xca8a, "Logitech Precision Vibration Feedback Wheel", 0, XTYPE_XBOX }, { 0x046d, 0xcaa3, "Logitech DriveFx Racing Wheel", 0, XTYPE_XBOX360 }, + { 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX360 }, { 0x056e, 0x2004, "Elecom JC-U3613M", 0, XTYPE_XBOX360 }, { 0x05fd, 0x1007, "Mad Catz Controller (unverified)", 0, XTYPE_XBOX }, { 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX }, { 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX }, { 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX }, - { 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX }, { 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX }, { 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX }, { 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },