dma: fix ipu_idmac.c to not discard the last queued buffer
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 12 May 2009 07:16:29 +0000 (09:16 +0200)
committerDan Williams <dan.j.williams@intel.com>
Tue, 12 May 2009 21:41:48 +0000 (14:41 -0700)
This also fixes the case of a single queued buffer, for example, when taking a
single frame snapshot with the mx3_camera driver.

Reported-by: Agustin Ferrin Pozuelo <gatoguan-os@yahoo.com>
Tested-by: Agustin Ferrin Pozuelo <gatoguan-os@yahoo.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found