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

Skip to content
Commit 9a4825ed authored by Marcel Hasler's avatar Marcel Hasler Committed by Mauro Carvalho Chehab
Browse files

[media] stk1160: Wait for completion of transfers to and from AC97 codec



The STK1160 needs some time to transfer data to and from the AC97 codec.
The transfer completion is indicated by command read/write bits in the
chip's audio control register. The driver should poll these bits and
wait until they have been cleared by hardware before trying to retrieve
the results of a read operation or setting a new write command.

[mchehab@s-opensource.com: make checkpatch happier]
Signed-off-by: default avatarMarcel Hasler <mahasler@gmail.com>
Acked-by: default avatarEzequiel Garcia <ezequiel@vanguardiasur.com.ar>

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1dc7df4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment