[media] go7007: improve subscribe event handling
authorGustavo Padovan <gustavo.padovan@collabora.com>
Wed, 15 Feb 2017 17:55:33 +0000 (15:55 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:12:21 +0000 (10:12 -0300)
commitc3d173a396c2700cb1ba02744fdc112f461f8177
tree09e7611e8c4e12aee54cdffbacbc0b61703a389e
parentcc0a5a867a6934e1a344a2e6b94dbcec7b9b457c
[media] go7007: improve subscribe event handling

We already check for the V4L2_EVENT_CTRL inside
v4l2_ctrl_subscribe_event() so just move this function to the default:
branch of the switch and let it does the job for us.

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/usb/go7007/go7007-v4l2.c