commit | 6f5062773747b3d3eb9f957030ac1be98e983ac2 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Feb 18 23:01:38 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Thu Mar 01 16:22:44 2018 +0000 |
tree | b48cd75fdcde1c88d1a3a75b034e4c45f0603ae3 | |
parent | 257aaceb63eb2337e50cd9f9008d11df2cb86207 [diff] |
ASoC: Intel: sst: Fix error-code check in sst_pause_stream() The value returned by sst_prepare_and_post_msg() is a negated SST_ERR_* value, so we must check for -SST_ERR_INVALID_STREAM_ID. Note that sst_pause_resume() already has the correct check. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>