On Mon, Oct 06, 2014 at 09:16:46AM +0200, Hans Verkuil wrote:
> This is a backport of mainline commit 58d75f4b1ce26324b4d809b18f94819843a98731
> for kernels 3.15 and 3.16. 
> 
> The recent conversion of saa7134 to vb2 uncovered a poll() bug that
> broke the teletext applications alevt and mtt. These applications
> expect that calling poll() without having called VIDIOC_STREAMON will
> cause poll() to return POLLERR. That did not happen in vb2.
> 
> This patch fixes that behavior. It also fixes what should happen when
> poll() is called when STREAMON is called but no buffers have been
> queued. In that case poll() will also return POLLERR.
> 
> This brings the vb2 behavior in line with the old videobuf behavior.
> 
> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>

Thanks for all 3 backports, now applied.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to