mei: check for error codes that mei_flow_ctrl_creds retuns
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 19 Jun 2012 06:13:34 +0000 (09:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:41:38 +0000 (16:41 -0700)
commitd20411588d2f47ded7b0a02ed1005c7e3ce0df40
tree36547c64bc348b3fd47c169d5391a458e8d17818
parent002176db8113c92d0bda02a47e3d2a4b8f9f55ea
mei: check for error codes that mei_flow_ctrl_creds retuns

we cannot use if(!mei_flow_ctrl_creds()) logic as
mei_flow_ctrl_creds also negative error codes

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/interrupt.c