Commit bab94e97 authored by Ulrich Spörlein's avatar Ulrich Spörlein Committed by Jiri Kosina
Browse files

HID: sony: Fix more ShanWan clone gamepads to not rumble when plugged in.



The device string on these can differ, apparently, including typos. I've
bought 2 of these in 2012 and googling shows many folks out there with
that broken spelling in their dmesg.

Signed-off-by: default avatarUlrich Spörlein <uqs@FreeBSD.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 462ba661
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2974,7 +2974,8 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id)
	if (!strcmp(hdev->name, "FutureMax Dance Mat"))
		quirks |= FUTUREMAX_DANCE_MAT;

	if (!strcmp(hdev->name, "SHANWAN PS3 GamePad"))
	if (!strcmp(hdev->name, "SHANWAN PS3 GamePad") ||
	    !strcmp(hdev->name, "ShanWan PS(R) Ga`epad"))
		quirks |= SHANWAN_GAMEPAD;

	sc = devm_kzalloc(&hdev->dev, sizeof(*sc), GFP_KERNEL);