V4L/DVB (12112): cx231xx: fix uninitialized variable.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 20 Jun 2009 12:21:37 +0000 (09:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Jun 2009 06:14:52 +0000 (03:14 -0300)
commitaad40d3d0cd9b679e83f6a902ad1e2b8f7b4c9bb
treeb7efc5a124e98e080c69334145e13a6e49b45c5c
parent54bb501c069bbe34cf8becf0a9985fc6873d6b21
V4L/DVB (12112): cx231xx: fix uninitialized variable.

The variable 'rc' could be used uninitialized in the cx231xx_capture_start
function. Sri informed me that it should be initialized to -1.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-avcore.c