Message ID | 20240917221412.1003718-7-jogletre@opensource.cirrus.com |
---|---|
State | New |
Headers | show |
Series | Separate notions of max concurrent playbacks and | expand |
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c index 445856c9127a..81372e942ba4 100644 --- a/drivers/input/misc/uinput.c +++ b/drivers/input/misc/uinput.c @@ -350,6 +350,7 @@ static int uinput_create_device(struct uinput_device *udev) dev->ff->playback = uinput_dev_playback; dev->ff->set_gain = uinput_dev_set_gain; dev->ff->set_autocenter = uinput_dev_set_autocenter; + dev->ff->max_concurrent_playbacks = udev->ff_effects_max; /* * The standard input_ff_flush() implementation does * not quite work for uinput as we can't reasonably
Explicitly assign the maximum number of simultaneously playable effects. Signed-off-by: James Ogletree <jogletre@opensource.cirrus.com> --- drivers/input/misc/uinput.c | 1 + 1 file changed, 1 insertion(+)