diff options
author | Mike Isely <isely@pobox.com> | 2009-03-06 22:19:43 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:34 -0400 |
commit | 6907205bcbe7b8bcdc0720bc75e1d2558162d017 (patch) | |
tree | 32afd4a907755aa51b24f6c2b97883af29b380d5 /drivers | |
parent | 00e5f73607d1dea12bf0ccbba9832c26a611213f (diff) |
V4L/DVB (11170): pvrusb2: Clean-up / placeholders inserted for additional development
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 2 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index c8192d8a6083..299bf58ad77a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -58,8 +58,6 @@ | |||
58 | #define LOCK_TAKE(x) do { mutex_lock(&x##_mutex); x##_held = !0; } while (0) | 58 | #define LOCK_TAKE(x) do { mutex_lock(&x##_mutex); x##_held = !0; } while (0) |
59 | #define LOCK_GIVE(x) do { x##_held = 0; mutex_unlock(&x##_mutex); } while (0) | 59 | #define LOCK_GIVE(x) do { x##_held = 0; mutex_unlock(&x##_mutex); } while (0) |
60 | 60 | ||
61 | struct pvr2_decoder; | ||
62 | |||
63 | typedef int (*pvr2_ctlf_is_dirty)(struct pvr2_ctrl *); | 61 | typedef int (*pvr2_ctlf_is_dirty)(struct pvr2_ctrl *); |
64 | typedef void (*pvr2_ctlf_clear_dirty)(struct pvr2_ctrl *); | 62 | typedef void (*pvr2_ctlf_clear_dirty)(struct pvr2_ctrl *); |
65 | typedef int (*pvr2_ctlf_check_value)(struct pvr2_ctrl *,int); | 63 | typedef int (*pvr2_ctlf_check_value)(struct pvr2_ctrl *,int); |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 02db5d6ebb46..65e65a4f2ec0 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -1666,6 +1666,7 @@ static int pvr2_decoder_enable(struct pvr2_hdw *hdw,int enablefl) | |||
1666 | return -EIO; | 1666 | return -EIO; |
1667 | } | 1667 | } |
1668 | hdw->decoder_ctrl->enable(hdw->decoder_ctrl->ctxt,enablefl); | 1668 | hdw->decoder_ctrl->enable(hdw->decoder_ctrl->ctxt,enablefl); |
1669 | // ????? | ||
1669 | return 0; | 1670 | return 0; |
1670 | } | 1671 | } |
1671 | 1672 | ||
@@ -4023,6 +4024,7 @@ int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *hdw) | |||
4023 | pvr2_trace(PVR2_TRACE_INIT, | 4024 | pvr2_trace(PVR2_TRACE_INIT, |
4024 | "Requesting decoder reset"); | 4025 | "Requesting decoder reset"); |
4025 | hdw->decoder_ctrl->force_reset(hdw->decoder_ctrl->ctxt); | 4026 | hdw->decoder_ctrl->force_reset(hdw->decoder_ctrl->ctxt); |
4027 | // ????? | ||
4026 | return 0; | 4028 | return 0; |
4027 | } | 4029 | } |
4028 | 4030 | ||