[media] v4l2-core/v4l2-ctrls: Filter NOOP CH_RANGE events
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Wed, 11 Nov 2015 11:58:34 +0000 (09:58 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:39:10 +0000 (14:39 -0200)
commit95ad7ff3890320c2b881cc6e3d1d00a77ae1a8f5
treef998dbb860453eda90667bc63466affcc06b6adb
parent0dac45f0e5a5f55cf454e9e2ca86221539e63357
[media] v4l2-core/v4l2-ctrls: Filter NOOP CH_RANGE events

If modify_range is called but no range is changed, do not send the
CH_RANGE event.

Reported-by: Dimitrios Katsaros <patcherwork@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ctrls.c