linux/drivers/media/i2c/soc_camera
Guennadi Liakhovetski 4a1313c447 [media] mt9m111: fix Oops - initialise context before dereferencing
A recent commit "[media] soc-camera: Push probe-time power management to
drivers" causes an Oops during mt9m111 driver probing because its .ctx
private data field is now dereferenced before it is initialised. Fix this
by initialising the field earlier.

Reported-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-21 14:19:03 -03:00
..
imx074.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
Kconfig [media] mt9v022: Add support for mt9v024 2012-08-15 20:04:08 -03:00
Makefile
mt9m001.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
mt9m111.c [media] mt9m111: fix Oops - initialise context before dereferencing 2013-03-21 14:19:03 -03:00
mt9t031.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
mt9t112.c [media] mt9t112: mt9t111 format set up differs from mt9t112 2013-02-13 17:25:56 -02:00
mt9v022.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov772x.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov2640.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov5642.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov6650.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov9640.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
ov9640.h
ov9740.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
rj54n1cb0c.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00
tw9910.c [media] soc-camera: use devm_kzalloc in subdevice drivers 2013-01-05 01:45:31 -02:00