| e670d7e3 | 26-Jan-2023 |
Hans Verkuil <[email protected]> |
media: dvb-frontends: cxd2880: return 0 instead of 'ret'.
Since 'ret' is known to be 0, just return '0'. This fixes 10 smatch warnings:
cxd2880_tnrdmd_dvbt.c:836 cxd2880_tnrdmd_dvbt_check_demod_loc
media: dvb-frontends: cxd2880: return 0 instead of 'ret'.
Since 'ret' is known to be 0, just return '0'. This fixes 10 smatch warnings:
cxd2880_tnrdmd_dvbt.c:836 cxd2880_tnrdmd_dvbt_check_demod_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt.c:841 cxd2880_tnrdmd_dvbt_check_demod_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt.c:896 cxd2880_tnrdmd_dvbt_check_ts_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt.c:901 cxd2880_tnrdmd_dvbt_check_ts_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt.c:904 cxd2880_tnrdmd_dvbt_check_ts_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt2.c:1027 cxd2880_tnrdmd_dvbt2_check_demod_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt2.c:1032 cxd2880_tnrdmd_dvbt2_check_demod_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt2.c:1087 cxd2880_tnrdmd_dvbt2_check_ts_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt2.c:1092 cxd2880_tnrdmd_dvbt2_check_ts_lock() warn: missing error code? 'ret' cxd2880_tnrdmd_dvbt2.c:1095 cxd2880_tnrdmd_dvbt2_check_ts_lock() warn: missing error code? 'ret'
Signed-off-by: Hans Verkuil <[email protected]> Cc: Yasunari Takiguchi <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 8239bac1 | 07-Mar-2018 |
Mauro Carvalho Chehab <[email protected]> |
media: cxd2880: remove unused vars
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: v
media: cxd2880: remove unused vars
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: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 9ca4897b | 07-Mar-2018 |
Mauro Carvalho Chehab <[email protected]> |
media: cxd2880: don't return unitialized values
drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c:59 cxd2880_io_spi_read_reg() error: uninitialized symbol 'ret'. drivers/media/dvb-frontends/cx
media: cxd2880: don't return unitialized values
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: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| e6159187 | 07-Mar-2018 |
Mauro Carvalho Chehab <[email protected]> |
media: cxd2880: Makefile: remove an include
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: Ma
media: cxd2880: Makefile: remove an include
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: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 9dbaad42 | 18-Jan-2018 |
Yasunari Takiguchi <[email protected]> |
media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver
This is the Makefile, Kconfig files of driver and MAINTAINERS file update about the driver for the Sony CXD
media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver
This is the Makefile, Kconfig files of driver and MAINTAINERS file update about the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator.
Signed-off-by: Yasunari Takiguchi <[email protected]> Signed-off-by: Masayuki Yamamoto <[email protected]> Signed-off-by: Hideki Nozawa <[email protected]> Signed-off-by: Kota Yonezawa <[email protected]> Signed-off-by: Toshihiko Matsumoto <[email protected]> Signed-off-by: Satoshi Watanabe <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 9e049346 | 18-Jan-2018 |
Yasunari Takiguchi <[email protected]> |
media: cxd2880: Add DVB-T2 control functions for the driver
Provide definitions, interfaces and functions needed for DVB-T2 of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.
Signed-off-by: Y
media: cxd2880: Add DVB-T2 control functions for the driver
Provide definitions, interfaces and functions needed for DVB-T2 of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.
Signed-off-by: Yasunari Takiguchi <[email protected]> Signed-off-by: Masayuki Yamamoto <[email protected]> Signed-off-by: Hideki Nozawa <[email protected]> Signed-off-by: Kota Yonezawa <[email protected]> Signed-off-by: Toshihiko Matsumoto <[email protected]> Signed-off-by: Satoshi Watanabe <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 90dc9aa7 | 18-Jan-2018 |
Yasunari Takiguchi <[email protected]> |
media: cxd2880: Add DVB-T control functions the driver
Provide definitions, interfaces and functions needed for DVB-T of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.
Signed-off-by: Yasunar
media: cxd2880: Add DVB-T control functions the driver
Provide definitions, interfaces and functions needed for DVB-T of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.
Signed-off-by: Yasunari Takiguchi <[email protected]> Signed-off-by: Masayuki Yamamoto <[email protected]> Signed-off-by: Hideki Nozawa <[email protected]> Signed-off-by: Kota Yonezawa <[email protected]> Signed-off-by: Toshihiko Matsumoto <[email protected]> Signed-off-by: Satoshi Watanabe <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| 4e67e6cb | 18-Jan-2018 |
Yasunari Takiguchi <[email protected]> |
media: cxd2880: Add spi device IO routines
Add functions for initializing, reading and writing to the SPI device for the Sony CXD2880 DVB-T2/T tuner + demodulator.
Signed-off-by: Yasunari Takiguchi
media: cxd2880: Add spi device IO routines
Add functions for initializing, reading and writing to the SPI device for the Sony CXD2880 DVB-T2/T tuner + demodulator.
Signed-off-by: Yasunari Takiguchi <[email protected]> Signed-off-by: Masayuki Yamamoto <[email protected]> Signed-off-by: Hideki Nozawa <[email protected]> Signed-off-by: Kota Yonezawa <[email protected]> Signed-off-by: Toshihiko Matsumoto <[email protected]> Signed-off-by: Satoshi Watanabe <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|