lkml.org 
[lkml]   [2011]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectPatch for broken radio in XC2k and XC3k tuners
    Hi, I am very supprised that no one complains about broken radio support 
    on devices with XC2k and XC3k tuner, it is broken since commit:

    V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia

    from date 19.3.2010

    BUG is present in current kernel stable version 2.6.38 and also olders
    like 2.6.37, fix is very trivial.

    I tested this fix with Leadtek DTV1800H radio and it works great, before
    this fix I can listen so much of noise on tuned frequency (so something
    wrong with tuning).

    Feel free to modify this patch :)

    M. Slugen
    --- linux-2.6.37.2.old/drivers/media/common/tuners/tuner-xc2028.c 2011-03-19 23:25:28.000000000 +0100
    +++ linux-2.6.37.2/drivers/media/common/tuners/tuner-xc2028.c 2011-03-19 23:26:13.458252000 +0100
    @@ -937,6 +937,8 @@
    rc = send_seq(priv, {0x00, 0x00});

    /* Analog modes require offset = 0 */
    + } else if (new_mode == T_RADIO) {
    + /* nop */
    } else {
    /*
    * Digital modes require an offset to adjust to the
    \
     
     \ /
      Last update: 2011-03-20 00:29    [W:0.020 / U:4.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site