On Wed, Sep 03, 2003 at 10:54:12PM +0200, Martin Schlemmer wrote: > Hi > > I am not sure if it was a later patch from me that fixed in_* to display > milli volts in sysfs, or if it was a patch from Jan Dittmer, but the > conversion in the store_in_*() functions is wrong, and cause something > like: > > ---------------------------- > nosferatu patch # cat /sys/bus/i2c/devices/1-0290/in_max2 > 3632 > nosferatu patch # echo '3700' > /sys/bus/i2c/devices/1-0290/in_max2 > nosferatu patch # cat /sys/bus/i2c/devices/1-0290/in_max2 > 400 > nosferatu patch # echo '3640' > /sys/bus/i2c/devices/1-0290/in_max2 > nosferatu patch # cat /sys/bus/i2c/devices/1-0290/in_max2 > 400 > nosferatu patch # echo '3632' > /sys/bus/i2c/devices/1-0290/in_max2 > nosferatu patch # cat /sys/bus/i2c/devices/1-0290/in_max2 > 400 > nosferatu patch # > ----------------------------- > > I think Andrey also noticed this (if I did not smoke too much Weedbix > this morning ;) - if so, please verify that this fixes it ... it does > here at least. > > Anyhow, patch is attached and should apply to 2.6.0-test4-bk5. Applied, thanks. greg k-h