Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrun: storage: fix xrun_file_read_debounce() to return read bytes
The xrun_file_read_debounce() should work the same way as fs_read() and so return number of read bytes on success. A returned value may be lower than size if there were fewer bytes available than requested. Hence fix xrun_file_read_debounce() to follow fs_read() approach. Signed-off-by: Grygorii Strashko <[email protected]> Acked-by: Dmytro Firsov <[email protected]> Tested-by: Oleksandr Grytsov <[email protected]>
- Loading branch information