diff options
| author | Takashi Sakamoto <[email protected]> | 2015-02-27 00:39:32 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-02-27 13:42:18 +0000 |
| commit | f2b14c0bc510c6a8f67a4f36049deefe5d99a537 (patch) | |
| tree | 7aa874e40c69809f05d56e50eb8644ad2ae8e2fb /net/switchdev/switchdev.c | |
| parent | ALSA: hda - Disable runtime PM for Panther Point again (diff) | |
| download | kernel-f2b14c0bc510c6a8f67a4f36049deefe5d99a537.tar.gz kernel-f2b14c0bc510c6a8f67a4f36049deefe5d99a537.zip | |
ALSA: oxfw: fix a condition and return code in start_stream()
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: f3699e2c7745 ('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]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
