• Malcolm Priestley's avatar
    [media] m88rs2000: set symbol rate accurately · dd4491df
    Malcolm Priestley authored
    Current setting of symbol rate is not very actuate causing
    loss of lock.
    
    Covert temp to u64 and use mclk to calculate from big number.
    
    Calculate symbol rate by dividing symbol rate by 1000 times
    1 << 24 and dividing sum by mclk.
    
    Add other symbol rate settings to function registers 0xa0-0xa3.
    
    In set_frontend add changes to register 0xf1 this must be done
    prior call to fe_reset. Register 0x00 doesn't need a second
    write of 0x1
    
    Applied after patch
    m88rs2000: add m88rs2000_set_carrieroffset
    Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
    Cc: stable@vger.kernel.org # v3.9+
    Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
    dd4491df
m88rs2000.c 18.1 KB