[media] davinci: dm355: Fix uninitialized variable compiler warnings
authorLad, Prabhakar <prabhakar.lad@ti.com>
Wed, 2 Jan 2013 11:37:41 +0000 (08:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 16:09:55 +0000 (14:09 -0200)
commitb9f1fbcd0e9b7ab96876a9e53cbea4d2e279e82c
tree84f67a25e7889456cc070fc27ee6173df2147ce2
parentc7a857a09f1f00e6cb04c6565c136a9f0018532d
[media] davinci: dm355: Fix uninitialized variable compiler warnings

drivers/media/platform/davinci/dm355_ccdc.c:593:9: warning: ‘val1’ may be
used uninitialized in this function [-Wuninitialized]
drivers/media/platform/davinci/dm355_ccdc.c:560:6: note: ‘val1’ was declared here
This is a false positive but the compiler has no way to know about it,
so initialize the variable to 0.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/dm355_ccdc.c