V4L/DVB: cx231xx: improve error handling
authorDan Carpenter <error27@gmail.com>
Fri, 2 Apr 2010 11:30:10 +0000 (08:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:30 +0000 (12:57 -0300)
commit8e47567f7d24346980f109d7eaed083106ff170d
tree8317809620c4386e0acd828cff8aa43ce365d96f
parentf76280154cdbb0ad02d5402972d1eb85f9e2898a
V4L/DVB: cx231xx: improve error handling

Return -EINVAL if we don't find the control id.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-video.c