summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/af9035.h
diff options
context:
space:
mode:
authorAntti Palosaari2012-05-07 19:50:40 +0200
committerMauro Carvalho Chehab2012-05-14 18:20:24 +0200
commit2a79eefa82d010b64b36efeebec04397ad494f22 (patch)
tree48d97991f66ac5ad3e58d39bb09b0865cdd4c14d /drivers/media/dvb/dvb-usb/af9035.h
parent[media] af9033: implement ber and ucb functions (diff)
downloadkernel-qcow2-linux-2a79eefa82d010b64b36efeebec04397ad494f22.tar.gz
kernel-qcow2-linux-2a79eefa82d010b64b36efeebec04397ad494f22.tar.xz
kernel-qcow2-linux-2a79eefa82d010b64b36efeebec04397ad494f22.zip
[media] af9035: move device configuration to the state
Fixes most problems when having more than one device connected as demod and tuner configurations are not shared. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9035.h')
-rw-r--r--drivers/media/dvb/dvb-usb/af9035.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9035.h b/drivers/media/dvb/dvb-usb/af9035.h
index 27a484bdc961..262cc3f4b008 100644
--- a/drivers/media/dvb/dvb-usb/af9035.h
+++ b/drivers/media/dvb/dvb-usb/af9035.h
@@ -26,6 +26,11 @@
#define DVB_USB_LOG_PREFIX "af9035"
#include "dvb-usb.h"
+#include "af9033.h"
+#include "tua9001.h"
+#include "fc0011.h"
+#include "mxl5007t.h"
+#include "tda18218.h"
struct reg_val {
u32 reg;
@@ -47,9 +52,11 @@ struct usb_req {
u8 *rbuf;
};
-struct config {
+struct state {
bool dual_mode;
bool hw_not_supported;
+
+ struct af9033_config af9033_config[2];
};
u32 clock_lut[] = {