summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-03-28 09:02:44 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 15:41:15 (GMT)
commit6a48f88b528fef7c4b6ad609111a8acfb5d65335 (patch)
tree58f4551121772dc7fcea13e96428ff4837bcce4d /arch/blackfin
parent1627ab92b2e6307525f43f775aaeac54407981ef (diff)
downloadlinux-fsl-qoriq-6a48f88b528fef7c4b6ad609111a8acfb5d65335.tar.xz
staging: speakup: use native error codes
The mapping as follows: E_RANGE -> ERANGE E_UNDEF -> ENODATA E_TOOLONG -> E2BIG SET_DEFAULT -> ERESTART As a side effect it fixes a bug in spk_var_store() where return code was mistakenly compared to negative value instead of positive. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions