]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
spi: error status should be negative
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:06:14 +0000 (14:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Nov 2009 01:40:32 +0000 (17:40 -0800)
commitb6b24c73d56a166a829318a1f06803ff9b54857b
treea2bdfc3d4c3f0e9ef9cd6d127260752c67ccdc86
parent23f268fa2db4cbe6c4c668d6c277fae906f54922
spi: error status should be negative

Return a negative error value instead of a positive

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: dmitry pervushin <dpervushin@embeddedalley.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_stmp.c