Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
local: Make local_buffer_enabled_set() return 0 on success
Previously, local_buffer_enabled_set() would return a negative value on error, and a positive value on success. The positive value was never needed anywhere, and caused some callers to misinterpret these as errors (by checking "ret != 0" instead of "ret < 0" for the error case). Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information