linux/drivers/media/dvb
David Howells 3ab1b9cecd V4L/DVB: lgs8gxx: Use shifts rather than multiply/divide when possible
If val is a u64, then following:

	val *= (u64)1 << 32;
	val /= (u64)1 << 32;

should surely be better represented as:

	val <<= 32;
	val >>= 32;

Especially as, for the division, the compiler might want to actually do a
division:

drivers/built-in.o: In function `lgs8gxx_get_afc_phase':
drivers/media/dvb/frontends/lgs8gxx.c:250: undefined reference to `__udivdi3'

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-16 09:27:50 -02:00
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB (13523): dvb-bt8xx: fix compile warning 2009-12-05 18:42:15 -02:00
dm1105 V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
dvb-core Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-12-09 19:50:49 -08:00
dvb-usb V4L/DVB (13678): Add support for yet another DvbWorld, TeVii and Prof USB devices 2009-12-16 09:27:46 -02:00
firewire V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
frontends V4L/DVB: lgs8gxx: Use shifts rather than multiply/divide when possible 2009-12-16 09:27:50 -02:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB (13522): valj5jf8007s/t: fix compile warnings 2009-12-05 18:42:15 -02:00
siano V4L/DVB (13569): smsusb: add autodetection support for five additional Hauppauge USB IDs 2009-12-16 00:18:02 -02:00
ttpci V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
Kconfig V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00
Makefile V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00