staging: ti dspbridge: avoid errors if node handle is zero
commit8df327c3904d34527b89d4881bd3ce2966f0e07f
authorErnesto Ramos <ernesto@ti.com>
Wed, 28 Jul 2010 21:04:54 +0000 (28 16:04 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 00:11:02 +0000 (2 17:11 -0700)
treea0a3e490dbfa07bffb1846ca1473fb52bde9bec2
parent0624f52f77e11a6edfc48827a12190f874d572b8
staging: ti dspbridge: avoid errors if node handle is zero

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 node
handle is zero.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/pmgr/dspapi.c