linux/drivers/media/dvb/ttpci
Thierry MERLE db210426d4 V4L/DVB (8876): budget: udelay changed to mdelay
budget.ko fails to build on ARM with:

ERROR: "__bad_udelay" [drivers/media/dvb/ttpci/budget.ko] undefined!
make[1]: *** [__modpost] Error 1

__bad_udelay is specifically designed on ARM to fail when udelay is
called in a bad way.  arch/arm/include/asm/delay.h has this to say
about __bad_udelay:

/*
 * This function intentionally does not exist; if you see references to
 * it, it means that you're calling udelay() with an out of range value.
 *
 * With currently imposed limits, this means that we support a max delay
 * of 2000us. Further limits: HZ<=1000 and bogomips<=3355
 */
extern void __bad_udelay(void);

Solution is to replace udelay by a mdelay and udelay with value less than 2000

Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-04 18:26:48 -03:00
..
Kconfig V4L/DVB (8534): remove select's of FW_LOADER 2008-07-27 12:24:37 -03:00
Makefile V4L/DVB (8335): dvb-ttpci: Fix build with CONFIG_INPUT_EVDEV=n (Bug #11042) 2008-07-20 07:25:12 -03:00
av7110.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
av7110.h V4L/DVB (8072): av7110: Removed some obsolete definitions and one unused variable 2008-07-20 07:10:15 -03:00
av7110_av.c V4L/DVB (8130): split dvb_ringbuffer dual-use functions 2008-07-20 07:13:23 -03:00
av7110_av.h V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110_ca.c V4L/DVB (8130): split dvb_ringbuffer dual-use functions 2008-07-20 07:13:23 -03:00
av7110_ca.h
av7110_hw.c V4L/DVB (8074): av7110: OSD transfers should not be interrupted 2008-06-26 15:58:56 -03:00
av7110_hw.h V4L/DVB (8072): av7110: Removed some obsolete definitions and one unused variable 2008-07-20 07:10:15 -03:00
av7110_ipack.c
av7110_ipack.h
av7110_ir.c V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
av7110_v4l.c V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
budget-av.c V4L/DVB (7912): TDA10023: make few parameters configurable 2008-07-20 07:06:06 -03:00
budget-ci.c V4L/DVB (8076): budget-ci: Support the bundled remote control of the TT DVB-C 1501 2008-07-20 07:10:21 -03:00
budget-core.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
budget-patch.c V4L/DVB (8876): budget: udelay changed to mdelay 2008-09-04 18:26:48 -03:00
budget.c V4L/DVB (8876): budget: udelay changed to mdelay 2008-09-04 18:26:48 -03:00
budget.h V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
fdump.c
ttpci-eeprom.c V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ttpci-eeprom.h