kernel-fxtec-pro1x/drivers/media/video/s5p-fimc
Sylwester Nawrocki 7acde02a5b [media] s5p-fimc: Fix wrong pointer dereference when unregistering sensors
After i2c_unregister_device() has been called the client object can already
be freed and thus using the client pointer may lead to dereferencing freed
memory. Avoid this by saving the adapter pointer for further use before
i2c_unregister_device() call.

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>
2011-11-24 20:57:12 -02:00
..
fimc-capture.c [media] V4L: vb2: prepare to support multi-size buffers 2011-11-03 18:28:28 -02:00
fimc-core.c [media] V4L: vb2: prepare to support multi-size buffers 2011-11-03 18:28:28 -02:00
fimc-core.h [media] s5p-fimc: Add runtime PM support in the camera capture driver 2011-09-06 17:50:31 -03:00
fimc-mdevice.c [media] s5p-fimc: Fix wrong pointer dereference when unregistering sensors 2011-11-24 20:57:12 -02:00
fimc-mdevice.h [media] s5p-fimc: Add the media device driver 2011-09-06 17:35:52 -03:00
fimc-reg.c [media] s5p-fimc: Convert to use generic media bus polarity flags 2011-09-24 00:22:31 -03:00
Makefile [media] s5p-fimc: Add the media device driver 2011-09-06 17:35:52 -03:00
mipi-csis.c [media] s5p-csis: Rework the system suspend/resume helpers 2011-09-06 15:09:37 -03:00
mipi-csis.h [media] v4l: Add v4l2 subdev driver for S5P/EXYNOS4 MIPI-CSI receivers 2011-05-20 11:32:43 -03:00
regs-fimc.h [media] s5p-fimc: Convert to use generic media bus polarity flags 2011-09-24 00:22:31 -03:00