Skip to content
Commit 3053339b authored by Joshua Lang's avatar Joshua Lang Committed by Greg Kroah-Hartman
Browse files

staging: goldfish: Clear audio read buffer status after each read



The buffer_status field is interrupt updated. After every read request,
the buffer_status read field should be reset so that on the next loop
iteration we don't read a stale value and read data before the
device is ready.

Signed-off-by: default avatarJoshua Lang <joshualang@google.com>
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 06e526f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment