summaryrefslogtreecommitdiffstats
path: root/ipc/ipcns_notifier.c
diff options
context:
space:
mode:
authorPavan Savoy2011-02-04 09:23:11 +0100
committerGreg Kroah-Hartman2011-02-04 21:41:20 +0100
commit704426649dd4324b34cefea322f4333e5280f852 (patch)
tree5f3b511437974e542e07bfc4a4e2558086be25c8 /ipc/ipcns_notifier.c
parentdrivers:misc: ti-st: move from rfkill to sysfs (diff)
downloadkernel-qcow2-linux-704426649dd4324b34cefea322f4333e5280f852.tar.gz
kernel-qcow2-linux-704426649dd4324b34cefea322f4333e5280f852.tar.xz
kernel-qcow2-linux-704426649dd4324b34cefea322f4333e5280f852.zip
drivers:misc: ti-st: fix error codes
set-right the error codes that the shared transport driver returns. Instead of magic numbers like -1, return relevant codes such as ETIMEDOUT or EIO, EAGAIN when wait times out or uart write bytes don't match expected value or when registration fails and needs to be attempted again. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc/ipcns_notifier.c')
0 files changed, 0 insertions, 0 deletions