Messages in this thread Patch in this message | | | Date | Sun, 06 Dec 2009 15:30:52 -0800 | From | Greg KH <> | Subject | [20/20] hwmon: (it87) Fix VID reading on IT8718F |
| |
2.6.27-stable review patch. If anyone has any objections, please let us know.
------------------ From: Jean Delvare <khali@linux-fr.org>
commit 371dc4a6d8c3c74a9a1c74b87c2affb3fcef6500 upstream
Comparing apples to bananas doesn't seem right.
The bug has been there since support for the IT8718F was added, so VID never worked for this chip.
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- drivers/hwmon/it87.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c @@ -1017,7 +1017,7 @@ static int __init it87_find(unsigned sho int reg; superio_select(GPIO); - if (chip_type == it8718) + if (sio_data->type == it8718) sio_data->vid_value = superio_inb(IT87_SIO_VID_REG); reg = superio_inb(IT87_SIO_PINX2_REG);
| |