projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Patches by Yuli Barcohen, 13 Jul 2003:
[kernel/u-boot.git]
/
dtt
/
ds1621.c
diff --git
a/dtt/ds1621.c
b/dtt/ds1621.c
index
bf30e9c
..
4948181
100644
(file)
--- a/
dtt/ds1621.c
+++ b/
dtt/ds1621.c
@@
-85,7
+85,7
@@
int dtt_write(int sensor, int reg, int val)
* Calculate sensor address and register.
*
*/
- sensor = DTT_I2C_DEV_CODE + (sensor &
sensor
);
+ sensor = DTT_I2C_DEV_CODE + (sensor &
0x07
);
/*
* Handle various data sizes.