The amdtp_stream_wait_callback() doesn't return minus value and
the return code is not for error code.
This commit fixes with a propper condition and an error code.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| oxfw-command.c | ||
| oxfw-control.c | ||
| oxfw-hwdep.c | ||
| oxfw-midi.c | ||
| oxfw-pcm.c | ||
| oxfw-proc.c | ||
| oxfw-stream.c | ||
| oxfw.c | ||
| oxfw.h | ||