f7059eaa28
This patch fixes possible race conditions in queue management with SMP: when a frame was completed, the irq function tried to use the next frame buffer. At this time, it was possible that the application on an other processor updated the frame pointer, making the image to point to a bad buffer. The patch contains two main changes: - the image transfer uses the queue indexes which are protected against simultaneous memory access, - the image pointer which is used for image concatenation is only set at interrupt level. Some subdrivers which used the image pointer have been updated. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
m5602_bridge.h | ||
m5602_core.c | ||
m5602_mt9m111.c | ||
m5602_mt9m111.h | ||
m5602_ov7660.c | ||
m5602_ov7660.h | ||
m5602_ov9650.c | ||
m5602_ov9650.h | ||
m5602_po1030.c | ||
m5602_po1030.h | ||
m5602_s5k4aa.c | ||
m5602_s5k4aa.h | ||
m5602_s5k83a.c | ||
m5602_s5k83a.h | ||
m5602_sensor.h |