diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-27 10:53:44 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-27 10:53:44 -0200 |
commit | ed75cb0b12ebc7f9b309db845461efbea140f36e (patch) | |
tree | 85abd0833675d7b34f459b69a842fde28c57f1d4 /linux/drivers/media/video/em28xx | |
parent | bd66ade9cd6ebcb354b5dff70798ee3df7eb02c0 (diff) | |
download | mediapointer-dvb-s2-ed75cb0b12ebc7f9b309db845461efbea140f36e.tar.gz mediapointer-dvb-s2-ed75cb0b12ebc7f9b309db845461efbea140f36e.tar.bz2 |
Allyesconfig build fixes on some non x86 arch
From: David Brownell <david-b@pacbell.net>
- CAFE_CCIC needs to depend on PCI, else "allyesconfig" breaks
on systems without PCI
- em28xx-video can't udelay(2500) else "allyesconfig" breaks
on systems that refuse to spin that long (I saw it on ARM)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/em28xx')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c index e7a104098..f03547db8 100644 --- a/linux/drivers/media/video/em28xx/em28xx-video.c +++ b/linux/drivers/media/video/em28xx/em28xx-video.c @@ -1785,9 +1785,9 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, if (dev->has_msp34xx) { /* Send a reset to other chips via gpio */ em28xx_write_regs_req(dev, 0x00, 0x08, "\xf7", 1); - udelay(2500); + msleep(3); em28xx_write_regs_req(dev, 0x00, 0x08, "\xff", 1); - udelay(2500); + msleep(3); } video_mux(dev, 0); |