mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-25 12:05:31 +00:00
staging: goldfish: fix alignment to match open parenthesis
Coding style: fix alignment to match open parenthesis Signed-off-by: Loic Pefferkorn <loic@loicp.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b61f085eb
commit
8f52e264e8
@ -125,11 +125,10 @@ static ssize_t goldfish_audio_read(struct file *fp, char __user *buf,
|
||||
length = (count > READ_BUFFER_SIZE ? READ_BUFFER_SIZE : count);
|
||||
AUDIO_WRITE(data, AUDIO_START_READ, length);
|
||||
|
||||
wait_event_interruptible(data->wait,
|
||||
(data->buffer_status & AUDIO_INT_READ_BUFFER_FULL));
|
||||
wait_event_interruptible(data->wait, (data->buffer_status &
|
||||
AUDIO_INT_READ_BUFFER_FULL));
|
||||
|
||||
length = AUDIO_READ(data,
|
||||
AUDIO_READ_BUFFER_AVAILABLE);
|
||||
length = AUDIO_READ(data, AUDIO_READ_BUFFER_AVAILABLE);
|
||||
|
||||
/* copy data to user space */
|
||||
if (copy_to_user(buf, data->read_buffer, length))
|
||||
|
Loading…
x
Reference in New Issue
Block a user