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:

committed by
Jonathan Cameron

parent
ace4cdfe67
commit
7f6cf74145
@@ -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 */
|
||||
|
Reference in New Issue
Block a user