summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-12-14 08:28:36 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 07:42:19 -0200
commit09092787e0cf66e705b0d744f5f0c3b2b6495559 (patch)
tree7200db1a6dd03c476e35f106a4f30bdb2f1bba55 /include/media
parenta101b947d405b5c2c94f260867074a4466b7cbea (diff)
downloadlinux-09092787e0cf66e705b0d744f5f0c3b2b6495559.tar.gz
linux-09092787e0cf66e705b0d744f5f0c3b2b6495559.tar.bz2
linux-09092787e0cf66e705b0d744f5f0c3b2b6495559.zip
[media] saa6588: add support for non-blocking mode
saa6588 always blocked while waiting for data, even if the filehandle was in non-blocking mode. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/saa6588.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/saa6588.h b/include/media/saa6588.h
index 1489a5272117..b5ec1aa60ed5 100644
--- a/include/media/saa6588.h
+++ b/include/media/saa6588.h
@@ -27,6 +27,7 @@
struct saa6588_command {
unsigned int block_count;
+ bool nonblocking;
int result;
unsigned char __user *buffer;
struct file *instance;