From 8564acf936726c5568d71e4fa93a0ae9814e0d07 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 14 Jul 2003 22:13:32 +0000 Subject: * Patches by Yuli Barcohen, 13 Jul 2003: - Correct flash and JFFS2 support for MPC8260ADS - fix PVR values and clock generation for PowerQUICC II family (8270/8275/8280) * Patch by Bernhard Kuhn, 08 Jul 2003: - add support for M68K targets * Patch by Ken Chou, 3 Jul: - Fix PCI config table for A3000 - Fix iobase for natsemi.c (PCI_BASE_ADDRESS_0 is the IO base register for DP83815) * Allow to enable "slow" POST routines by key press on power-on * Fix temperature dependend switching of LCD backlight on LWMON * Tweak output format for LWMON --- dtt/ds1621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dtt') diff --git a/dtt/ds1621.c b/dtt/ds1621.c index bf30e9c683..494818131f 100644 --- 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. -- cgit v1.2.1