]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: AACI: fix timeout duration
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 12 Jan 2011 23:42:57 +0000 (23:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Jan 2011 21:18:05 +0000 (21:18 +0000)
commit250c7a61c35a258e2422b3d55c61bfbad33326be
tree7d6384c03895828a4052b5f9fbe1c760c8d6092a
parent69058cd6d10423126ab6aeb568f4af2bd34c49fe
ALSA: AACI: fix timeout duration

Relying on the access time of peripherals is unreliable - it depends
on the speed of the CPU and the bus.  On Versatile Express, these
timeouts were expiring, causing the driver to fail.

Add udelay(1) to ensure that they don't expire early, and adjust
timeouts to give a reasonable margin over the response times.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
sound/arm/aaci.c