Explicitly assign the maximum number of simultaneously playable
effects.
Signed-off-by: James Ogletree <jogletre@opensource.cirrus.com>
---
drivers/input/misc/da7280.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/misc/da7280.c b/drivers/input/misc/da7280.c
index 1629b7ea4cbd..3d892ba343d0 100644
--- a/drivers/input/misc/da7280.c
+++ b/drivers/input/misc/da7280.c
@@ -1239,6 +1239,7 @@ static int da7280_probe(struct i2c_client *client)
ff = input_dev->ff;
ff->upload = da7280_haptics_upload_effect;
ff->playback = da7280_haptics_playback;
+ ff->max_concurrent_playbacks = DA7280_FF_EFFECT_COUNT_MAX;
error = input_register_device(input_dev);
if (error) {
--
2.43.0