[media] ivtv: improve subscribe_event handling
authorGustavo Padovan <gustavo.padovan@collabora.com>
Wed, 15 Feb 2017 17:55:29 +0000 (15:55 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:10:50 +0000 (10:10 -0300)
commit88b172f9f9d42bd83b6e22473321bd2fd4052c47
tree74454feab9aef601ddff8d86002467dd873cf9de
parent938e20adfd2ccfac0f3858ee898f3a0e2641d457
[media] ivtv: improve subscribe_event handling

Simplify logic and call v4l2_ctrl_subscribe_event() directly instead
of copying its content over to ivtv_subscribe_event().

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ivtv/ivtv-ioctl.c