aboutsummaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2018-02-18 23:01:38 +0100
committerMark Brown <[email protected]>2018-03-01 16:22:44 +0000
commit6f5062773747b3d3eb9f957030ac1be98e983ac2 (patch)
treeb48cd75fdcde1c88d1a3a75b034e4c45f0603ae3 /lib/syscall.c
parent257aaceb63eb2337e50cd9f9008d11df2cb86207 (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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions