Skip to content
Commit 7c289385 authored by Russell King's avatar Russell King
Browse files

ALSA: AACI: allow writes to MAINCR to take effect



The AACI TRM requires the MAINCR enable bit to be held zero for two
bitclk cycles plus three apb_pclk cycles.  Use a delay of 1us to
ensure this.

Ensure that writes to MAINCR to change the addressed codec only happen
when required, and that they take effect in a similar manner to the
above, otherwise we seem to occasionally have stuck slot busy bits.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent ec11594f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment