OpenCloudOS-Kernel/drivers/media/platform/s5p-fimc
Sylwester Nawrocki 248ac368ce [media] s5p-fimc: Fix fimc-lite entities deregistration
Clear the proper array when deregistering FIMC-LITE devices. Now
fimc[] array is erroneously accessed instead of fimc_lite[] and
fimc_md_unregister_entities() function call can result in an oops
from NULL pointer dereference, since fmd->fimc[] is cleared earlier.
This might happen in normal conditions when the driver's probing
is deferred and then retried.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-02-06 09:42:19 -02:00
..
Kconfig [media] s5p-csis: Select S5P_SETUP_MIPIPHY 2012-10-25 14:42:16 -02:00
Makefile [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
fimc-capture.c [media] s5p-fimc: Fix FIMC.n subdev set_selection ioctl handler 2013-02-05 17:53:25 -02:00
fimc-core.c [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
fimc-core.h [media] s5p-fimc: Set default image format at device open() 2013-02-05 17:52:41 -02:00
fimc-lite-reg.c [media] s5p-fimc: Redefine platform data structure for fimc-is 2013-02-05 17:55:58 -02:00
fimc-lite-reg.h [media] s5p-fimc: Redefine platform data structure for fimc-is 2013-02-05 17:55:58 -02:00
fimc-lite.c [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
fimc-lite.h [media] s5p-fimc: fimc-lite: Prevent deadlock at STREAMON/OFF ioctls 2013-02-05 17:40:36 -02:00
fimc-m2m.c [media] s5p-fimc: Set default image format at device open() 2013-02-05 17:52:41 -02:00
fimc-mdevice.c [media] s5p-fimc: Fix fimc-lite entities deregistration 2013-02-06 09:42:19 -02:00
fimc-mdevice.h [media] s5p-fimc: Redefine platform data structure for fimc-is 2013-02-05 17:55:58 -02:00
fimc-reg.c [media] s5p-fimc: Redefine platform data structure for fimc-is 2013-02-05 17:55:58 -02:00
fimc-reg.h [media] s5p-fimc: Redefine platform data structure for fimc-is 2013-02-05 17:55:58 -02:00
mipi-csis.c [media] s5p-csis: Fix clock handling on error path in probe() 2013-02-06 09:41:17 -02:00
mipi-csis.h [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00