diff options
author | Antti Palosaari <crope@iki.fi> | 2016-11-05 01:43:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 15:29:21 +0300 |
commit | 09bfd96ca32638596be95e43a3b981b96f9b5b30 (patch) | |
tree | 58a2a989833b55870ae5066891debfa61b38d364 /drivers/media/usb/dvb-usb-v2/af9035.h | |
parent | c62d29c81736c6f3a6a9cc6ba2f5aad1cfa6afbc (diff) | |
download | linux-09bfd96ca32638596be95e43a3b981b96f9b5b30.tar.xz |
[media] af9035: read and store whole eeprom
Read eeprom content to chip state and read values there when needed.
Also debug dump eeprom content.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/af9035.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.h b/drivers/media/usb/dvb-usb-v2/af9035.h index 1f83c9218ad0..89a08a4eac2e 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.h +++ b/drivers/media/usb/dvb-usb-v2/af9035.h @@ -61,9 +61,12 @@ struct state { u8 prechip_version; u8 chip_version; u16 chip_type; + u8 eeprom[256]; + bool no_eeprom; + u8 ir_mode; + u8 ir_type; u8 dual_mode:1; u8 no_read:1; - u16 eeprom_addr; u8 af9033_i2c_addr[2]; struct af9033_config af9033_config[2]; struct af9033_ops ops; |