diff options
author | Mike Isely <isely@pobox.com> | 2007-01-28 13:38:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:12 -0500 |
commit | 567d7115b9ce8145c166e3368bf31fe613451f77 (patch) | |
tree | 7d5ce8468578501aefc54495df57abf742e6b7dd /drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | |
parent | edae96bd72155b88f8682c830c63338cd699d35c (diff) |
V4L/DVB (5172): Pvrusb2: Control protocol cleanup
Several special-case FX2 commands were being issued through
pvr2_write_u16() and pvr2_write_8(), but there's really nothing
special case about them. These date from a very early time in the
driver development. This patch removes these functions and replaces
their use with calls to pvr2_send_request.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h index c6aa9751a0d6..ffbc6d096108 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h +++ b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | |||
@@ -29,6 +29,7 @@ | |||
29 | 29 | ||
30 | #define FX2CMD_REG_WRITE 0x04 | 30 | #define FX2CMD_REG_WRITE 0x04 |
31 | #define FX2CMD_REG_READ 0x05 | 31 | #define FX2CMD_REG_READ 0x05 |
32 | #define FX2CMD_MEMSEL 0x06 | ||
32 | 33 | ||
33 | #define FX2CMD_I2C_WRITE 0x08 | 34 | #define FX2CMD_I2C_WRITE 0x08 |
34 | #define FX2CMD_I2C_READ 0x09 | 35 | #define FX2CMD_I2C_READ 0x09 |
@@ -38,6 +39,8 @@ | |||
38 | #define FX2CMD_STREAMING_ON 0x36 | 39 | #define FX2CMD_STREAMING_ON 0x36 |
39 | #define FX2CMD_STREAMING_OFF 0x37 | 40 | #define FX2CMD_STREAMING_OFF 0x37 |
40 | 41 | ||
42 | #define FX2CMD_FWPOST1 0x52 | ||
43 | |||
41 | #define FX2CMD_POWER_OFF 0xdc | 44 | #define FX2CMD_POWER_OFF 0xdc |
42 | #define FX2CMD_POWER_ON 0xde | 45 | #define FX2CMD_POWER_ON 0xde |
43 | 46 | ||