Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We want the loop to exit when "to" is set to zero, but in the current code it's set to -1. Also I tweaked the indenting so it doesn't look like we're passing "--to" to xenbus_read_unsigned(). Fixes: cc3196a ("ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Oleksandr Andrushchenko <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information