summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-10-09 10:28:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-27 11:42:04 -0300
commit296da3cd14db9eb5606924962b2956c9c656dbb0 (patch)
treeba0e1014a0aca90e7a0b1e58047fd610ad84db7a /usr
parent0bf0f713d6e6b9f1c510d598c29ac17812a4eea5 (diff)
downloadop-kernel-dev-296da3cd14db9eb5606924962b2956c9c656dbb0.zip
op-kernel-dev-296da3cd14db9eb5606924962b2956c9c656dbb0.tar.gz
[media] pwc: poll(): Check that the device has not beem claimed for streaming already
Some apps which use read() start the streaming through a call to poll(), this means that if another app has already claimed the device for streaming (through for example a s_fmt, or a reqbufs), that the poll should fail instead of getting passed through to vb2_poll. We only check for this when the app is polling for reads, so that ctrl events still work. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud