linux/drivers/media/platform/sti/c8sectpfe
Sudip Mukherjee 51a3ac5f4d [media] c8sectpfe: fix return of garbage
The variable err was never initialized, that means we had been checking
a garbage value in the for loop. Moreover if the segment is not outside
the firmware file then also we have been returning the garbage.
Initialize it to 0 so that on success we return the value and no need to
check in the for loop also as it is initially 0 and whenever that value
changes we have done a break from the loop.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-10-22 15:48:24 -02:00
..
c8sectpfe-common.c
c8sectpfe-common.h
c8sectpfe-core.c [media] c8sectpfe: fix return of garbage 2015-10-22 15:48:24 -02:00
c8sectpfe-core.h
c8sectpfe-debugfs.c [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-debugfs.h [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-dvb.c [media] c8sectpfe: Add support for various ST NIM cards 2015-08-11 16:06:49 -03:00
c8sectpfe-dvb.h [media] c8sectpfe: Add support for various ST NIM cards 2015-08-11 16:06:49 -03:00
Kconfig [media] c8sectpfe: Remove select on undefined LIBELF_32 2015-09-03 14:10:06 -03:00
Makefile [media] c8sectpfe: Add Kconfig and Makefile for the driver 2015-08-11 16:08:29 -03:00