From 84177828a05d106cd489b902b09bb1c2fbe9685f Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Fri, 5 Nov 2010 17:01:48 +0000 Subject: [PATCH] --- yaml --- r: 235923 b: refs/heads/master c: d723818e7c8f20af0a665f5b0c2eda909e069ffa h: refs/heads/master i: 235921: 7efcf9b5d943cd0046fa9e144b53b5e4c86b0905 235919: 923aa9b1d2dddf1a390f2c4d22ce220c9608b48e v: v3 --- [refs] | 2 +- trunk/drivers/staging/tidspbridge/rmgr/mgr.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e003d536abbf..42945e1424b8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 81ea18ec22e9526b4af81e2213747e5afc48f364 +refs/heads/master: d723818e7c8f20af0a665f5b0c2eda909e069ffa diff --git a/trunk/drivers/staging/tidspbridge/rmgr/mgr.c b/trunk/drivers/staging/tidspbridge/rmgr/mgr.c index 0ea89a1bb77c..2eab6a56ab22 100644 --- a/trunk/drivers/staging/tidspbridge/rmgr/mgr.c +++ b/trunk/drivers/staging/tidspbridge/rmgr/mgr.c @@ -169,6 +169,11 @@ int mgr_enum_node_info(u32 node_id, struct dsp_ndbprops *pndb_props, } } + + /* the last status is not 0, but neither an error */ + if (status > 0) + status = 0; + if (!status) { if (node_id > (node_index - 1)) { status = -EINVAL;