diff options
author | Mike Isely <isely@pobox.com> | 2006-04-20 00:13:09 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-04-20 00:13:09 -0500 |
commit | ea5b04b69aa97ec244d03f9a4b75685d37d9a378 (patch) | |
tree | 14f96f6b2c9d2079117a2a730721e3c3e609c754 /linux/drivers/media | |
parent | f3bab8e1b3ea52801b5b256bf203d6e2c946033d (diff) | |
download | mediapointer-dvb-s2-ea5b04b69aa97ec244d03f9a4b75685d37d9a378.tar.gz mediapointer-dvb-s2-ea5b04b69aa97ec244d03f9a4b75685d37d9a378.tar.bz2 |
Fix pvrusb2 eeprom retrieval bug
From: Mike Isely <isely@pobox.com>
Fix minor problem where wrong I2C address was being used to execute
the second phase of an eeprom fetch.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-eeprom.c b/linux/drivers/media/video/pvrusb2/pvrusb2-eeprom.c index 1509ed6d6..4003149a1 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-eeprom.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-eeprom.c @@ -83,7 +83,7 @@ static u8 *pvr2_eeprom_fetch(struct pvr2_hdw *hdw) msg[0].flags = 0; msg[0].len = mode16 ? 2 : 1; msg[0].buf = iadd; - msg[1].addr = hdw->eeprom_addr; + msg[1].addr = addr; msg[1].flags = I2C_M_RD; /* We have to do the actual eeprom data fetch ourselves, because |