staging: intel_sst: fix signess error
Subsystems (2)
PATCH 1/1 staging: intel_sst: fix signess error
str_id was unsigned, so check for (str_id <= 0) made no sense. Made it signed.
Signed-off-by Vasiliy Kulikov <[email protected]>
---
Compile tested.
drivers/staging/intel_sst/intel_sst_stream.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/staging/intel_sst/intel_sst_stream.c +2 -1
@@ -117,7 +117,8 @@ int sst_alloc_stream(char *params, unsigned int stream_ops, {struct ipc_post *msg =NULL ;struct snd_sst_alloc_params alloc_param; -unsigned int pcm_slot =0 , num_ch, str_id; +unsigned int pcm_slot =0 , num_ch; +int str_id;struct snd_sst_stream_params *sparams;struct stream_info *str_info;
Signature · 1 line
1.7.0.4