diff options
author | Scott Jiang <scott.jiang.linux@gmail.com> | 2013-01-18 17:09:48 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-06 09:16:58 -0200 |
commit | d78a488221059d2bc8627c5175f1d358c57d74a0 (patch) | |
tree | 47a6fea33074594d3a91c433790a6070026b4185 /include/media | |
parent | 1e2043779d8e34013f1563f1b9f3d5604092c29e (diff) | |
download | blackbird-op-linux-d78a488221059d2bc8627c5175f1d358c57d74a0.tar.gz blackbird-op-linux-d78a488221059d2bc8627c5175f1d358c57d74a0.zip |
[media] blackfin: add error frame support
Mark current frame as error frame when ppi error interrupt
report fifo error. Member next_frm in struct bcap_device can
be optimized out.
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/blackfin/ppi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/blackfin/ppi.h b/include/media/blackfin/ppi.h index 65c467576b31..d0697f4edf87 100644 --- a/include/media/blackfin/ppi.h +++ b/include/media/blackfin/ppi.h @@ -86,7 +86,8 @@ struct ppi_if { unsigned long ppi_control; const struct ppi_ops *ops; const struct ppi_info *info; - bool err_int; + bool err_int; /* if we need request error interrupt */ + bool err; /* if ppi has fifo error */ void *priv; }; |