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: cc3196ae197c ("ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| xen_snd_front_alsa.c | ||
| xen_snd_front_alsa.h | ||
| xen_snd_front_cfg.c | ||
| xen_snd_front_cfg.h | ||
| xen_snd_front_evtchnl.c | ||
| xen_snd_front_evtchnl.h | ||
| xen_snd_front_shbuf.c | ||
| xen_snd_front_shbuf.h | ||
| xen_snd_front.c | ||
| xen_snd_front.h | ||