commit | c3d173a396c2700cb1ba02744fdc112f461f8177 | [log] [tgz] |
---|---|---|
author | Gustavo Padovan <gustavo.padovan@collabora.com> | Wed Feb 15 15:55:33 2017 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Mar 22 10:12:21 2017 -0300 |
tree | 09e7611e8c4e12aee54cdffbacbc0b61703a389e | |
parent | cc0a5a867a6934e1a344a2e6b94dbcec7b9b457c [diff] |
[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>