]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/sh/maple/maple.c
maple: improve detection of attached peripherals
[linux-2.6-omap-h63xx.git] / drivers / sh / maple / maple.c
index 616e2266e91319030bca00dcba01d5f3cb4fd13f..9cfcfd8dad5e5fb5dfd36bd651a70efc99c43c31 100644 (file)
@@ -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;
        }