mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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: f3699e2c77 ('ALSA: oxfw: Change the way to start stream')
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Takashi Sakamoto <[email protected]>
Cc: <[email protected]> # 3.19+
Signed-off-by: Takashi Iwai <[email protected]>