Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 1, 2012 at 8:52 PM, Antti Palosaari <crope@xxxxxx> wrote:
> 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@xxxxxxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Signed-off-by: Antti Palosaari <crope@xxxxxx>
> ---
>  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
>


utterly ridiculous.  I understand why Antti is making this patch, so I
cannot blame him for it, but this whole idea of asynchronous firmware
load instead of allowing the bridge driver to orchestrate things is a
major problem -- THAT is what needs fixing.  let's fix the ACTUAL
problem.

(if we have to merge this for the short-term, i understand... i just
reiterate - we set a horrible president by merging a second tda18271
driver)

-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux