projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Change u64/s64 to a long long integer type
[deliverable/linux.git]
/
drivers
/
spi
/
tle62x0.c
diff --git
a/drivers/spi/tle62x0.c
b/drivers/spi/tle62x0.c
index 6da58ca48b333b60cd4d6c1cf8a7a493b7908e9c..455991fbe28f0cb300ff354d0b5106d12cd7125a 100644
(file)
--- a/
drivers/spi/tle62x0.c
+++ b/
drivers/spi/tle62x0.c
@@
-107,8
+107,11
@@
static ssize_t tle62x0_status_show(struct device *dev,
mutex_lock(&st->lock);
ret = tle62x0_read(st);
-
dev_dbg(dev, "tle62x0_read() returned %d\n", ret);
+ if (ret < 0) {
+ mutex_unlock(&st->lock);
+ return ret;
+ }
for (ptr = 0; ptr < (st->nr_gpio * 2)/8; ptr += 1) {
fault <<= 8;
This page took
0.023857 seconds
and
5
git commands to generate.