1. 07 1月, 2014 2 次提交
    • M
      [media] m88rs2000: set symbol rate accurately · dd4491df
      Malcolm Priestley 提交于
      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: NMalcolm Priestley <tvboxspy@gmail.com>
      Cc: stable@vger.kernel.org # v3.9+
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      dd4491df
    • M
      [media] m88rs2000: add m88rs2000_set_carrieroffset · 06af15d1
      Malcolm Priestley 提交于
      Set the carrier offset correctly using the default mclk values.
      
      Add function m88rs2000_get_mclk to calculate the mclk value
      against crystal frequency which will later be used for
      other functions.
      
      Add function m88rs2000_set_carrieroffset to calculate
      and set the offset value.
      
      variable offset becomes a signed value.
      
      Register 0x86 is set the appropriate value according to
      remainder value of frequency % 192857 calculation as
      shown.
      Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
      Cc: stable@vger.kernel.org # v3.9+
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      06af15d1
  2. 06 1月, 2013 1 次提交
  3. 29 12月, 2012 2 次提交
  4. 28 12月, 2012 1 次提交
  5. 14 8月, 2012 1 次提交
  6. 12 8月, 2012 1 次提交
  7. 20 5月, 2012 2 次提交
  8. 15 5月, 2012 1 次提交
    • H
      [media] v4l/dvb: fix compiler warnings · fdf07b02
      Hans Verkuil 提交于
      media_build/v4l/stb6100.c: In function 'stb6100_read_reg':
      media_build/v4l/stb6100.c:161:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx24110.c: In function 'cx24110_read_ucblocks':
      media_build/v4l/cx24110.c:515:6: warning: variable 'lastbyer' set but not used [-Wunused-but-set-variable]
      media_build/v4l/dib9000.c: In function 'dib9000_mbx_process':
      media_build/v4l/dib9000.c:711:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      media_build/v4l/zl10353.c: In function 'zl10353_init':
      media_build/v4l/zl10353.c:562:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv0297.c: In function 'stv0297_set_frontend':
      media_build/v4l/stv0297.c:417:16: warning: variable 'starttime' set but not used [-Wunused-but-set-variable]
      media_build/v4l/lgs8gxx.c: In function 'lgs8gxx_set_mode_manual':
      media_build/v4l/lgs8gxx.c:265:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/af9013.c: In function 'af9013_statistics_work':
      media_build/v4l/af9013.c:517:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv090x.c: In function 'stv090x_optimize_track':
      media_build/v4l/stv090x.c:2845:23: warning: variable 'rolloff' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv090x.c: In function 'stv090x_algo':
      media_build/v4l/stv090x.c:3177:28: warning: variable 'no_signal' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_read_ber':
      media_build/v4l/it913x-fe.c:636:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_get_frontend':
      media_build/v4l/it913x-fe.c:661:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_set_frontend':
      media_build/v4l/it913x-fe.c:694:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/m88rs2000.c: In function 'm88rs2000_set_fec':
      media_build/v4l/m88rs2000.c:657:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/dst_ca.c: In function 'ca_send_message':
      media_build/v4l/dst_ca.c:480:15: warning: variable 'ca_message_header_len' set but not used [-Wunused-but-set-variable]
      media_build/v4l/smssdio.c: In function 'smssdio_interrupt':
      media_build/v4l/smssdio.c:117:11: warning: variable 'isr' set but not used [-Wunused-but-set-variable]
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fdf07b02
  9. 20 3月, 2012 3 次提交