diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-12-29 18:28:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-30 11:02:23 +0100 |
commit | 3ea2b673a55cee528f83653e711d09425ed4d8b6 (patch) | |
tree | d4c7d0e58b0f41ff90f4efeb345364b9818a2e90 /drivers/media/video/cx18/cx18-cards.c | |
parent | [media] v4l2-ctrls: only check def for menu, integer and boolean controls (diff) | |
download | linux-3ea2b673a55cee528f83653e711d09425ed4d8b6.tar.xz linux-3ea2b673a55cee528f83653e711d09425ed4d8b6.zip |
[media] em28xx: fix incorrect s_ctrl error code and wrong call to res_free
Calling subdevs to handle s_ctrl returned a non-zero return code even if
everything went fine.
Calling STREAMOFF if no STREAMON happened earlier would hit a BUG_ON
in res_free.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-cards.c')
0 files changed, 0 insertions, 0 deletions