summarylogtreecommitdiffstats
path: root/disable-ff-enabled-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-ff-enabled-check.patch')
-rw-r--r--disable-ff-enabled-check.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/disable-ff-enabled-check.patch b/disable-ff-enabled-check.patch
new file mode 100644
index 000000000000..2f3677e4991f
--- /dev/null
+++ b/disable-ff-enabled-check.patch
@@ -0,0 +1,19 @@
+diff --git a/hid-playstation.c b/hid-playstation.c
+index 2f989da..0bb77d9 100644
+--- a/hid-playstation.c
++++ b/hid-playstation.c
+@@ -442,12 +442,12 @@ static struct input_dev *ps_gamepad_create(struct hid_device *hdev,
+ for (i = 0; i < ARRAY_SIZE(ps_gamepad_buttons); i++)
+ input_set_capability(gamepad, EV_KEY, ps_gamepad_buttons[i]);
+
+-#if IS_ENABLED(CONFIG_PLAYSTATION_FF)
++//#if IS_ENABLED(CONFIG_PLAYSTATION_FF)
+ if (play_effect) {
+ input_set_capability(gamepad, EV_FF, FF_RUMBLE);
+ input_ff_create_memless(gamepad, NULL, play_effect);
+ }
+-#endif
++//#endif
+
+ ret = input_register_device(gamepad);
+ if (ret)