Re: [PATCH] media: vb2: reset queued_count value during queue reinitialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 10, 2011 at 02:04:38PM +0200, Marek Szyprowski wrote:
> queued_count variable was left untouched during the queue reinitialization
> in __vb2_queue_cancel, what might lead to mismatch between the real number
> of queued buffers and queued_count variable.
> 
> Reported-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> CC: Pawel Osciak <pawel@xxxxxxxxxx>
Half-acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

As mentioned in the original report, the setup routine should initialize
queued_count, too, so only a half ack.

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux