diff options
Diffstat (limited to 'drivers/media/dvb/frontends/drx397xD.c')
-rw-r--r-- | drivers/media/dvb/frontends/drx397xD.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/drx397xD.c b/drivers/media/dvb/frontends/drx397xD.c index 172f1f928f02..010075535221 100644 --- a/drivers/media/dvb/frontends/drx397xD.c +++ b/drivers/media/dvb/frontends/drx397xD.c | |||
@@ -123,10 +123,10 @@ static int drx_load_fw(struct drx397xD_state *s, enum fw_ix ix) | |||
123 | } | 123 | } |
124 | memset(&fw[ix].data[0], 0, sizeof(fw[0].data)); | 124 | memset(&fw[ix].data[0], 0, sizeof(fw[0].data)); |
125 | 125 | ||
126 | if (request_firmware(&fw[ix].file, fw[ix].name, &s->i2c->dev) != 0) { | 126 | rc = request_firmware(&fw[ix].file, fw[ix].name, s->i2c->dev.parent); |
127 | if (rc != 0) { | ||
127 | printk(KERN_ERR "%s: Firmware \"%s\" not available\n", | 128 | printk(KERN_ERR "%s: Firmware \"%s\" not available\n", |
128 | mod_name, fw[ix].name); | 129 | mod_name, fw[ix].name); |
129 | rc = -ENOENT; | ||
130 | goto exit_err; | 130 | goto exit_err; |
131 | } | 131 | } |
132 | 132 | ||