We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4897899 commit fcbb114Copy full SHA for fcbb114
drivers/platform/x86/surface3_power.c
@@ -40,8 +40,8 @@
40
#include <linux/uuid.h>
41
#include <asm/unaligned.h>
42
43
-#define POLL_INTERVAL (2 * HZ)
44
-#define SURFACE_3_STRLEN 10
+#define SURFACE_3_POLL_INTERVAL (2 * HZ)
+#define SURFACE_3_STRLEN 10
45
46
struct mshw0011_data {
47
struct i2c_client *adp1;
@@ -350,7 +350,7 @@ static int mshw0011_poll_task(void *data)
350
set_freezable();
351
352
while (!kthread_should_stop()) {
353
- schedule_timeout_interruptible(POLL_INTERVAL);
+ schedule_timeout_interruptible(SURFACE_3_POLL_INTERVAL);
354
try_to_freeze();
355
ret = mshw0011_isr(data);
356
if (ret)
0 commit comments