projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b22edd
)
V4L/DVB: af9015: use value from config instead hardcoded one
author
Antti Palosaari
<crope@iki.fi>
Mon, 13 Sep 2010 00:02:55 +0000
(21:02 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 21 Oct 2010 03:05:52 +0000
(
01:05
-0200)
Replace 2nd demod default address 0x3a with value got from eeprom config.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/af9015.c
b/drivers/media/dvb/dvb-usb/af9015.c
index f82f50d6acf5fd6cbf96ea423940dd97f739afb6..f63cb18b37f627ac4593b18d9695f6d9b45811fc 100644
(file)
--- a/
drivers/media/dvb/dvb-usb/af9015.c
+++ b/
drivers/media/dvb/dvb-usb/af9015.c
@@
-496,7
+496,8
@@
static int af9015_copy_firmware(struct dvb_usb_device *d)
/* wait 2nd demodulator ready */
msleep(100);
- ret = af9015_read_reg_i2c(d, 0x3a, 0x98be, &val);
+ ret = af9015_read_reg_i2c(d,
+ af9015_af9013_config[1].demod_address, 0x98be, &val);
if (ret)
goto error;
else