summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-12-14 12:28:36 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 10:42:19 +0100
commit09092787e0cf66e705b0d744f5f0c3b2b6495559 (patch)
tree7200db1a6dd03c476e35f106a4f30bdb2f1bba55 /include
parent[media] saa6588: remove unused CMD_OPEN (diff)
downloadlinux-09092787e0cf66e705b0d744f5f0c3b2b6495559.tar.xz
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')
-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;