V4L/DVB (9599): cx18: Fix unitialized variable problem upon APU firmware file read...
authorAndy Walls <awalls@radix.net>
Sun, 9 Nov 2008 22:51:44 +0000 (19:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:05 +0000 (09:38 -0200)
commitc7abfb47c9e19d63ce6f757afcb392c69ce09765
treeade18051c4cc1f4a5fc88021f85f5c4d4b8ae0c4
parentd20ceecd0c5370cfe6b6eee2f63fecb65222c747
V4L/DVB (9599): cx18: Fix unitialized variable problem upon APU firmware file read failure

If APU firmware file read failed, the jump vector to the APU was undefined and
the APU would be started executing garbage.  Fix uninitialized variable to be
an infinite loop for the APU, but also bail out before even starting the APU.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-firmware.c