]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3212762caf6eee074be15fa1315b85bb26ed61a9
treeade18051c4cc1f4a5fc88021f85f5c4d4b8ae0c4
parentdf3f346d5a82ba9fe9996165f08b18bbc8c23db5
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