[media] em28xx: fix incorrect s_ctrl error code and wrong call to res_free
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 29 Dec 2010 17:28:13 +0000 (14:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 10:02:23 +0000 (08:02 -0200)
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>

No differences found