All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd
@ 2012-10-02  0:52 Antti Palosaari
  2012-10-02  1:43 ` Michael Krufky
  2012-10-02  1:58 ` Devin Heitmueller
  0 siblings, 2 replies; 14+ messages in thread
From: Antti Palosaari @ 2012-10-02  0:52 UTC (permalink / raw)
  To: linux-media; +Cc: Antti Palosaari, Michael Krufky, Mauro Carvalho Chehab

New drxk firmware download does not work with tda18271. Actual
reason is more drxk driver than tda18271. Anyhow, tda18271c2dd
will work as it does not do as much I/O during attach than tda18271.

Root of cause is tuner I/O during drx-k asynchronous firmware
download. request_firmware_nowait()... :-/

Cc: Michael Krufky <mkrufky@linuxtv.org>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
---
 drivers/media/usb/em28xx/em28xx-dvb.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c
index 770a5af..fd750d4 100644
--- a/drivers/media/usb/em28xx/em28xx-dvb.c
+++ b/drivers/media/usb/em28xx/em28xx-dvb.c
@@ -1122,9 +1122,8 @@ static int em28xx_dvb_init(struct em28xx *dev)
 
 		if (dvb->fe[0]) {
 			/* attach tuner */
-			if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60,
-					&dev->i2c_adap,
-					&em28xx_cxd2820r_tda18271_config)) {
+			if (!dvb_attach(tda18271c2dd_attach, dvb->fe[0],
+					&dev->i2c_adap, 0x60)) {
 				dvb_frontend_detach(dvb->fe[0]);
 				result = -EINVAL;
 				goto out_free;
-- 
1.7.11.4


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-10-02 14:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02  0:52 [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd Antti Palosaari
2012-10-02  1:43 ` Michael Krufky
2012-10-02 10:19   ` Mauro Carvalho Chehab
2012-10-02  1:58 ` Devin Heitmueller
2012-10-02  3:07   ` [PATCH] tda18271: prevent register access during attach() if delay_cal is set Michael Krufky
2012-10-02  3:17   ` [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd Michael Krufky
2012-10-02  9:55     ` Antti Palosaari
2012-10-02 11:05       ` Mauro Carvalho Chehab
2012-10-02 12:22         ` Michael Krufky
2012-10-02 13:17           ` Mauro Carvalho Chehab
2012-10-02 14:23             ` Antti Palosaari
2012-10-02 12:29         ` Antti Palosaari
2012-10-02 12:42           ` Michael Krufky
2012-10-02 12:49             ` Antti Palosaari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.