Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167831
b: refs/heads/master
c: 371dc4a
h: refs/heads/master
i:
  167829: 7c77b34
  167827: f3ddbd3
  167823: 7757e4c
v: v3
  • Loading branch information
Jean Delvare committed Oct 24, 2009
1 parent f6a3751 commit f1416a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d0914468fdf66d61a57e7c074b17a28eed4d3dd
refs/heads/master: 371dc4a6d8c3c74a9a1c74b87c2affb3fcef6500
5 changes: 2 additions & 3 deletions trunk/drivers/hwmon/it87.c
Original file line number Diff line number Diff line change
Expand Up @@ -1028,12 +1028,11 @@ static int __init it87_find(unsigned short *address,
chip_type, *address, sio_data->revision);

/* Read GPIO config and VID value from LDN 7 (GPIO) */
if (chip_type != IT8705F_DEVID) {
if (sio_data->type != it87) {
int reg;

superio_select(GPIO);
if ((chip_type == it8718) ||
(chip_type == it8720))
if (sio_data->type == it8718 || sio_data->type == it8720)
sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);

reg = superio_inb(IT87_SIO_PINX2_REG);
Expand Down

0 comments on commit f1416a7

Please sign in to comment.