From: Hans de Goede Date: Sun, 9 Oct 2011 13:28:27 +0000 (-0300) Subject: [media] pwc: poll(): Check that the device has not beem claimed for streaming already X-Git-Tag: v3.5-rc1~104^2~480 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=296da3cd14db9eb5606924962b2956c9c656dbb0;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed