staging: ti dspbridge: avoid errors if stream id is zero
authorErnesto Ramos <ernesto@ti.com>
Wed, 28 Jul 2010 21:04:57 +0000 (16:04 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 00:11:03 +0000 (17:11 -0700)
As 'zero' can be a perfectly good id, it can be picked up as
a NULL from userspace, avoid issues in API and user apps if stream
handle is zero.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found