* [PATCH 1/3] cxusb: initialize si2168_config struct
@ 2014-11-20 20:33 Olli Salonen
2014-11-20 20:33 ` [PATCH 2/3] af9035: " Olli Salonen
2014-11-20 20:33 ` [PATCH 3/3] em28xx: " Olli Salonen
0 siblings, 2 replies; 3+ messages in thread
From: Olli Salonen @ 2014-11-20 20:33 UTC (permalink / raw)
To: linux-media; +Cc: Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the
si2168_config struct is not initialized to all zeros.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
---
drivers/media/usb/dvb-usb/cxusb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c
index 356abb3..ef73c93 100644
--- a/drivers/media/usb/dvb-usb/cxusb.c
+++ b/drivers/media/usb/dvb-usb/cxusb.c
@@ -1435,6 +1435,7 @@ static int cxusb_tt_ct2_4400_attach(struct dvb_usb_adapter *adap)
msleep(100);
/* attach frontend */
+ memset(&si2168_config, 0, sizeof(si2168_config));
si2168_config.i2c_adapter = &adapter;
si2168_config.fe = &adap->fe_adap[0].fe;
si2168_config.ts_mode = SI2168_TS_PARALLEL;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] af9035: initialize si2168_config struct
2014-11-20 20:33 [PATCH 1/3] cxusb: initialize si2168_config struct Olli Salonen
@ 2014-11-20 20:33 ` Olli Salonen
2014-11-20 20:33 ` [PATCH 3/3] em28xx: " Olli Salonen
1 sibling, 0 replies; 3+ messages in thread
From: Olli Salonen @ 2014-11-20 20:33 UTC (permalink / raw)
To: linux-media; +Cc: Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the
si2168_config struct is not initialized to all zeros.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
---
drivers/media/usb/dvb-usb-v2/af9035.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c
index 1896ab2..80a29f5 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.c
+++ b/drivers/media/usb/dvb-usb-v2/af9035.c
@@ -1171,6 +1171,7 @@ static int it930x_frontend_attach(struct dvb_usb_adapter *adap)
dev_dbg(&d->udev->dev, "adap->id=%d\n", adap->id);
+ memset(&si2168_config, 0, sizeof(si2168_config));
si2168_config.i2c_adapter = &adapter;
si2168_config.fe = &adap->fe[0];
si2168_config.ts_mode = SI2168_TS_SERIAL;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] em28xx: initialize si2168_config struct
2014-11-20 20:33 [PATCH 1/3] cxusb: initialize si2168_config struct Olli Salonen
2014-11-20 20:33 ` [PATCH 2/3] af9035: " Olli Salonen
@ 2014-11-20 20:33 ` Olli Salonen
1 sibling, 0 replies; 3+ messages in thread
From: Olli Salonen @ 2014-11-20 20:33 UTC (permalink / raw)
To: linux-media; +Cc: Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the
si2168_config struct is not initialized to all zeros.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
---
drivers/media/usb/em28xx/em28xx-dvb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c
index 65a456d..5a94f17 100644
--- a/drivers/media/usb/em28xx/em28xx-dvb.c
+++ b/drivers/media/usb/em28xx/em28xx-dvb.c
@@ -1553,6 +1553,7 @@ static int em28xx_dvb_init(struct em28xx *dev)
struct si2157_config si2157_config;
/* attach demod */
+ memset(&si2168_config, 0, sizeof(si2168_config));
si2168_config.i2c_adapter = &adapter;
si2168_config.fe = &dvb->fe[0];
si2168_config.ts_mode = SI2168_TS_PARALLEL;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-20 20:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 20:33 [PATCH 1/3] cxusb: initialize si2168_config struct Olli Salonen
2014-11-20 20:33 ` [PATCH 2/3] af9035: " Olli Salonen
2014-11-20 20:33 ` [PATCH 3/3] em28xx: " Olli Salonen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).