linux/drivers/media
Mauro Carvalho Chehab 901c4ad64c [media] dib8000: upd_demod_gain_period should be u32
X-Patchwork-Delegate: m.chehab@samsung.com
As shown at the code, upd_demod_gain_period is used to write
to two 16-bit registers:
    dib8000_write_word(state, 1946, upd_demod_gain_period & 0xFFFF);
    dib8000_write_word(state, 1947, reg | (1<<14) | ((upd_demod_gain_period >> 16) & 0xFF));

So, it should be declared as u32.

This fixes the following smatch warning:
	drivers/media/dvb-frontends/dib8000.c:1282 dib8000_agc_startup() warn: right shifting more than type allows

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-02-02 13:21:25 -02:00
..
common [media] btcx-risc: move to bt8xx 2014-12-23 10:13:19 -02:00
dvb-core [media] cxusb: Geniatech T230 support 2014-11-25 09:15:54 -02:00
dvb-frontends [media] dib8000: upd_demod_gain_period should be u32 2015-02-02 13:21:25 -02:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] adv7180: Add fast switch support 2015-02-02 11:51:38 -02:00
mmc [media] siano: fix Kconfig dependencies 2015-02-02 11:08:02 -02:00
pci [media] cx23885: move CI/MAC registration to a separate function 2015-02-02 13:16:01 -02:00
platform [media] adv7180: Add media controller support 2015-02-02 11:45:35 -02:00
radio [media] radio/aimslab: use mdelay instead of udelay 2015-02-02 11:07:09 -02:00
rc [media] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i 2015-01-29 18:26:31 -02:00
tuners [media] si2157: change firmware variable name and type 2015-01-29 18:50:28 -02:00
usb [media] media: au0828 - convert to use videobuf2 2015-02-02 11:58:27 -02:00
v4l2-core [media] videobuf: make unused exported functions static 2015-01-27 10:01:33 -02:00
Kconfig [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00