Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292148
b: refs/heads/master
c: 75bdc93
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck authored and Guenter Roeck committed Mar 19, 2012
1 parent 9b16fa9 commit 176833e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 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: 3c4c4971912d9786100012b94d4ae08a8995f0e7
refs/heads/master: 75bdc936ea4c228fe248d47120d67f7a22a1adc5
15 changes: 10 additions & 5 deletions trunk/drivers/hwmon/asus_atk0110.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ static const struct dmi_system_id __initconst atk_force_new_if[] = {
{ }
};

/* Minimum time between readings, enforced in order to avoid
/*
* Minimum time between readings, enforced in order to avoid
* hogging the CPU.
*/
#define CACHE_TIME HZ
Expand Down Expand Up @@ -161,7 +162,8 @@ struct atk_sensor_data {
char const *acpi_name;
};

/* Return buffer format:
/*
* Return buffer format:
* [0-3] "value" is valid flag
* [4-7] value
* [8- ] unknown stuff on newer mobos
Expand Down Expand Up @@ -310,7 +312,8 @@ static union acpi_object *atk_get_pack_member(struct atk_data *data,
}


/* New package format is:
/*
* New package format is:
* - flag (int)
* class - used for de-muxing the request to the correct GITn
* type (volt, temp, fan)
Expand Down Expand Up @@ -613,7 +616,8 @@ static int atk_read_value_new(struct atk_sensor_data *sensor, u64 *value)

buf = (struct atk_acpi_ret_buffer *)obj->buffer.pointer;
if (buf->flags == 0) {
/* The reading is not valid, possible causes:
/*
* The reading is not valid, possible causes:
* - sensor failure
* - enumeration was FUBAR (and we didn't notice)
*/
Expand Down Expand Up @@ -1311,7 +1315,8 @@ static int atk_probe_if(struct atk_data *data)
dev_dbg(dev, "method " METHOD_WRITE " not found: %s\n",
acpi_format_exception(status));

/* Check for hwmon methods: first check "old" style methods; note that
/*
* Check for hwmon methods: first check "old" style methods; note that
* both may be present: in this case we stick to the old interface;
* analysis of multiple DSDTs indicates that when both interfaces
* are present the new one (GGRP/GITM) is not functional.
Expand Down

0 comments on commit 176833e

Please sign in to comment.