diff options
author | Antti Palosaari <crope@iki.fi> | 2012-07-01 14:59:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-05 12:00:15 -0400 |
commit | 21c8ba39ab775a9a1ff031d9418967c5731049a4 (patch) | |
tree | fe0013cf6898cddba7b18bcc633beae213673210 /drivers/media/dvb/frontends/tda10071_priv.h | |
parent | 84431c2ae5e41dfcdba75e2f81e732664381cec9 (diff) |
[media] tda10071: use decimal numbers for indexes and lengths
Dan asked "Btw, why are the sizes specified in hex instead of
decimal here?". After looking code, I agree also decimal
presentation is clearer. So lets change those.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10071_priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda10071_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda10071_priv.h b/drivers/media/dvb/frontends/tda10071_priv.h index 93c5e6317f07..21bedcace4bf 100644 --- a/drivers/media/dvb/frontends/tda10071_priv.h +++ b/drivers/media/dvb/frontends/tda10071_priv.h | |||
@@ -112,7 +112,7 @@ struct tda10071_reg_val_mask { | |||
112 | #define CMD_BER_UPDATE_COUNTERS 0x3f | 112 | #define CMD_BER_UPDATE_COUNTERS 0x3f |
113 | 113 | ||
114 | /* firmare command struct */ | 114 | /* firmare command struct */ |
115 | #define TDA10071_ARGLEN 0x1e | 115 | #define TDA10071_ARGLEN 30 |
116 | struct tda10071_cmd { | 116 | struct tda10071_cmd { |
117 | u8 args[TDA10071_ARGLEN]; | 117 | u8 args[TDA10071_ARGLEN]; |
118 | u8 len; | 118 | u8 len; |