mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-11 00:51:47 +00:00
iio: hid-sensors: use asynchronous resume
Some platforms power off sensor hubs during S3 suspend, which will require longer time to resume. This hurts system resume time, so resume asynchronously. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
ace4cdfe67
commit
7f6cf74145
2 changed files with 22 additions and 1 deletions
|
@ -236,6 +236,7 @@ struct hid_sensor_common {
|
|||
struct hid_sensor_hub_attribute_info report_state;
|
||||
struct hid_sensor_hub_attribute_info power_state;
|
||||
struct hid_sensor_hub_attribute_info sensitivity;
|
||||
struct work_struct work;
|
||||
};
|
||||
|
||||
/* Convert from hid unit expo to regular exponent */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue