diff options
author | Ian Armstrong <ian@iarmst.demon.co.uk> | 2010-06-12 13:41:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 14:48:13 -0300 |
commit | 215659d14f9dbc849ccda1655c94d710f8cc6384 (patch) | |
tree | 7f1c65043106c2b14492616e48b17d76243a20f4 /drivers/media/video/ivtv/ivtv-mailbox.h | |
parent | 914610e8c508224a6fb9fb501ed4bda25b340ba6 (diff) | |
download | kernel_samsung_tuna-215659d14f9dbc849ccda1655c94d710f8cc6384.zip kernel_samsung_tuna-215659d14f9dbc849ccda1655c94d710f8cc6384.tar.gz kernel_samsung_tuna-215659d14f9dbc849ccda1655c94d710f8cc6384.tar.bz2 |
V4L/DVB: ivtv: Automatic firmware reload
If the firmware has failed, this patch will automatically reload &
restart the card. The previous card state will be restored on a
successful restart. Firmware reload will only happen if neither the
encoder or decoder is active. If the card is busy then behaviour is as
before, returning -EIO on device access until the reload can occur. On
cards that support video output, coloured bars will be displayed during
the reload.
Andy Walls (ivtv maintainer and patch committer) made minor tweaks to
comments and the logged messages, but nothing substantial otherwise.
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-mailbox.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-mailbox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-mailbox.h b/drivers/media/video/ivtv/ivtv-mailbox.h index 8247662..2c834d2 100644 --- a/drivers/media/video/ivtv/ivtv-mailbox.h +++ b/drivers/media/video/ivtv/ivtv-mailbox.h @@ -30,5 +30,6 @@ int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]); int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...); int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...); int ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]); +void ivtv_mailbox_cache_invalidate(struct ivtv *itv); #endif |