Changeset 709

Show
Ignore:
Timestamp:
01/26/00 17:16:53 (15 years ago)
Author:
frodo
Message:

GL518SM buglet fixed

Initially, random values were put in the voltage registers. If iterate was
left at 0, these random values were put in /proc.

Solution: initialize voltage[0..2] with 0.

Frodo

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/gl518sm.c

    r707 r709  
    418418        data->thread = NULL; 
    419419        data->alarm_mask = 0xff; 
     420        data->voltage[0]=data->voltage[1]=data->voltage[2]=0; 
    420421        gl518_init_client((struct i2c_client *) new_client); 
    421422        return 0;