1. 21 Mar, 2018 27 commits
  2. 08 Mar, 2018 9 commits
  3. 07 Mar, 2018 4 commits
    • Mauro Carvalho Chehab's avatar
      media: s5c73m3-core: fix logic on a timeout condition · 39ad07b7
      Mauro Carvalho Chehab authored
      As warned by smatch:
      	drivers/media/i2c/s5c73m3/s5c73m3-core.c:268 s5c73m3_check_status() error: uninitialized symbol 'status'.
      
      if s5c73m3_check_status() is called too late, time_is_after_jiffies(end)
      will return 0, causing the while to abort before reading status.
      
      The current code will do the wrong thing here, as it will still
      check if status != value. The right fix here is to change
      the logic to ensure that it will always read the status.
      Suggested-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      39ad07b7
    • Mauro Carvalho Chehab's avatar
      media: cxd2880: remove unused vars · 8239bac1
      Mauro Carvalho Chehab authored
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c: In function ‘cxd2880_set_ber_per_period_t’:
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c:677:34: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
        struct dtv_frontend_properties *c;
                                        ^
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c: In function ‘cxd2880_set_ber_per_period_t2’:
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c:790:34: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
        struct dtv_frontend_properties *c;
                                        ^
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c: In function ‘cxd2880_get_frontend’:
      drivers/media/dvb-frontends/cxd2880/cxd2880_top.c:1799:23: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
        struct cxd2880_priv *priv = NULL;
                             ^~~~
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      8239bac1
    • Mauro Carvalho Chehab's avatar
      media: cxd2880: don't return unitialized values · 9ca4897b
      Mauro Carvalho Chehab authored
      drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c:59 cxd2880_io_spi_read_reg() error: uninitialized symbol 'ret'.
      drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c:111 cxd2880_io_spi_write_reg() error: uninitialized symbol 'ret'.
      drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c:2985 cxd2880_tnrdmd_set_cfg() error: uninitialized symbol 'ret'.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      9ca4897b
    • Mauro Carvalho Chehab's avatar
      media: cxd2880: Makefile: remove an include · e6159187
      Mauro Carvalho Chehab authored
      It is not needed anymore to include the dvb-core directory,
      as all the public headers that used to be there was moved
      to include/media.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      e6159187