projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f11c5
)
[media] em28xx: fix assignment of the eeprom data
author
Alban Browaeys
<
[email protected]
>
Tue, 16 Jul 2013 21:57:53 +0000
(18:57 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 26 Jul 2013 15:28:03 +0000
(12:28 -0300)
Set the config structure pointer to the eeprom data pointer (data,
here eedata dereferenced) not the pointer to the pointer to
the eeprom data (eedata itself).
Signed-off-by: Alban Browaeys <
[email protected]
>
Signed-off-by: Frank Schäfer <
[email protected]
>
Cc:
[email protected]
# for v3.10
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/usb/em28xx/em28xx-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/em28xx/em28xx-i2c.c
b/drivers/media/usb/em28xx/em28xx-i2c.c
index 4851cc2e4a4d3227b59df97c8020298b41796c77..c4ff9739a7ae8cb099b21637dc23723e5e170d1b 100644
(file)
--- a/
drivers/media/usb/em28xx/em28xx-i2c.c
+++ b/
drivers/media/usb/em28xx/em28xx-i2c.c
@@
-726,7
+726,7
@@
static int em28xx_i2c_eeprom(struct em28xx *dev, unsigned bus,
*eedata = data;
*eedata_len = len;
- dev_config = (void *)eedata;
+ dev_config = (void *)
*
eedata;
switch (le16_to_cpu(dev_config->chip_conf) >> 4 & 0x3) {
case 0: