diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-26 08:43:59 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-26 08:43:59 +0000 |
commit | 8336aa0dd9ebd561d8bd2bd866b37071d0d0c79a (patch) | |
tree | 71c83ac02e1109c76234285f6c4c79a49a8cdcf7 /linux/drivers/media/dvb/frontends/tda10048.c | |
parent | 3a5029e47ebbbb4707dce75ad6beebe667224ba5 (diff) | |
download | mediapointer-dvb-s2-8336aa0dd9ebd561d8bd2bd866b37071d0d0c79a.tar.gz mediapointer-dvb-s2-8336aa0dd9ebd561d8bd2bd866b37071d0d0c79a.tar.bz2 |
Link firmware to physical device
From: Jean Delvare <khali@linux-fr.org>
Use the physical device rather than the i2c adapter as the reference
device when loading firmwares. This will prevent the sysfs name
collision with i2c-dev that has been reported many times.
I may have missed other drivers which need the same fix.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda10048.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda10048.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10048.c b/linux/drivers/media/dvb/frontends/tda10048.c index 3163aad5b..a223e617f 100644 --- a/linux/drivers/media/dvb/frontends/tda10048.c +++ b/linux/drivers/media/dvb/frontends/tda10048.c @@ -492,7 +492,7 @@ static int tda10048_firmware_upload(struct dvb_frontend *fe) TDA10048_DEFAULT_FIRMWARE); ret = request_firmware(&fw, TDA10048_DEFAULT_FIRMWARE, - &state->i2c->dev); + state->i2c->dev.parent); if (ret) { printk(KERN_ERR "%s: Upload failed. (file not found?)\n", __func__); |