Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b770d6b9 authored by Adrian McMenamin's avatar Adrian McMenamin Committed by Paul Mundt
Browse files

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: default avatarAdrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 43081e18
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
	}