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 <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Vasiliy Kulikov 2010-10-10 21:28:47 +04:00 committed by Greg Kroah-Hartman
parent 2dff527957
commit 7915c0d4d2

View File

@ -117,7 +117,8 @@ int sst_alloc_stream(char *params, unsigned int stream_ops,
{ {
struct ipc_post *msg = NULL; struct ipc_post *msg = NULL;
struct snd_sst_alloc_params alloc_param; 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 snd_sst_stream_params *sparams;
struct stream_info *str_info; struct stream_info *str_info;