diff options
author | Adrian McMenamin <adrian@newgolddream.dyndns.info> | 2008-02-11 01:25:02 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-02-14 06:22:11 +0100 |
commit | b770d6b9b726932a74126311fa163ebf379631d8 (patch) | |
tree | 454095a14c0a503c303c2502929a90fca8029c30 /drivers/sh/maple | |
parent | sh: Shut up some trivial build warnings. (diff) | |
download | linux-b770d6b9b726932a74126311fa163ebf379631d8.tar.xz linux-b770d6b9b726932a74126311fa163ebf379631d8.zip |
maple: improve detection of attached peripherals
Improve device detection for maple through longer delay
Experience suggests that a much longer delay in setting up the Maple bus
on the Dreamcast leads to better hardware detection.
Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/maple')
-rw-r--r-- | drivers/sh/maple/maple.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index 616e2266e913..9cfcfd8dad5e 100644 --- a/drivers/sh/maple/maple.c +++ b/drivers/sh/maple/maple.c @@ -659,7 +659,6 @@ static int __init maple_bus_init(void) goto cleanup_device; retval = driver_register(&maple_dummy_driver.drv); - if (retval) goto cleanup_bus; @@ -705,7 +704,7 @@ static int __init maple_bus_init(void) mdev[i]->mq->length = 0; maple_add_packet(mdev[i]->mq); /* delay aids hardware detection */ - udelay(20); + mdelay(5); subdevice_map[i] = 0; } |