summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2014-01-18 15:13:02 +0100
committerMauro Carvalho Chehab2014-03-04 18:32:17 +0100
commitb48293db4a348e9759c1f8a41a84f2e9f559decf (patch)
tree650631000f9e33759ba7ad3fe971e7c5c39a557e /drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
parent[media] drx-j: Be sure that all allocated data are properly initialized (diff)
downloadkernel-qcow2-linux-b48293db4a348e9759c1f8a41a84f2e9f559decf.tar.gz
kernel-qcow2-linux-b48293db4a348e9759c1f8a41a84f2e9f559decf.tar.xz
kernel-qcow2-linux-b48293db4a348e9759c1f8a41a84f2e9f559decf.zip
[media] drx-j: dynamically load the firmware
Instead of hardcoding the firmware files together with the driver, use request_firmware() way, loading it from userspace. The firmware files are placed at: http://linuxtv.org/downloads/firmware/#8 And they'll be latter submitted to linux-firmware git tree. Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj/drx39xxj.h')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drx39xxj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
index a7eb7166be15..8c24d73410bc 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
@@ -33,6 +33,7 @@ struct drx39xxj_state {
struct dvb_frontend frontend;
int powered_up:1;
unsigned int i2c_gate_open:1;
+ const struct firmware *fw;
};
struct dvb_frontend *drx39xxj_attach(struct i2c_adapter *i2c);