From: Greg KH <gregkh@linuxfoundation.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: stable@vger.kernel.org,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] media/vb2: fix VBI/poll regression
Date: Mon, 6 Oct 2014 08:41:41 -0700 [thread overview]
Message-ID: <20141006154141.GE30730@kroah.com> (raw)
In-Reply-To: <543241DE.6090507@xs4all.nl>
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.verkuil@cisco.com>
Thanks for all 3 backports, now applied.
greg k-h
prev parent reply other threads:[~2014-10-06 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 7:16 [PATCH] media/vb2: fix VBI/poll regression Hans Verkuil
2014-10-06 15:41 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141006154141.GE30730@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).