]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] omap3isp: resizer: Remove slow debugging message from interrupt handler
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 23 Jul 2014 13:30:57 +0000 (10:30 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:17 +0000 (15:25 -0500)
commitd903a0a367f3e0350a3ba1455c0a7c533977fb42
treedcffb9b8c38df60d1b611f638cd1ec0ab97ae48d
parent41316a27ee96b31970175bec87210075752001fb
[media] omap3isp: resizer: Remove slow debugging message from interrupt handler

The resizer_set_input_size() function prints a debugging message with
the input width and height values. As the function is called from
interrupt context, printing that message to the serial console could
slow down the interrupt handler and cause it to miss the start of the
next frame, causing image corruption.

Fix this by reorganizing the resizer debug messages. The driver now
prints the input size, the crop rectangle and the output size in the set
selection handler instead of scattering debug messages in various
places.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispresizer.c