diff options
Diffstat (limited to 'drivers/input/ff-core.c')
-rw-r--r-- | drivers/input/ff-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c index 783b3412cead..eebc72465fc9 100644 --- a/drivers/input/ff-core.c +++ b/drivers/input/ff-core.c | |||
@@ -281,7 +281,8 @@ int input_ff_event(struct input_dev *dev, unsigned int type, | |||
281 | break; | 281 | break; |
282 | 282 | ||
283 | default: | 283 | default: |
284 | ff->playback(dev, code, value); | 284 | if (check_effect_access(ff, code, NULL) == 0) |
285 | ff->playback(dev, code, value); | ||
285 | break; | 286 | break; |
286 | } | 287 | } |
287 | 288 | ||