n is switchable.
- as device. Access the NUC via "adb shell" from a host PC. Adb works
after S3 cycle.
- as host. Mouse works on that usb port after S3 cycle.
Without this fix, both of tests fails.
Signed-off-by: Chen, Hu
Signed-off-by: Balaji
---
v2: The role maybe changed by ISR
m a host PC. After a suspend/resume cycle, the adb still
works well.
Signed-off-by: Chen, Hu
Signed-off-by: Balaji
diff --git a/drivers/usb/roles/intel-xhci-usb-role-switch.c
b/drivers/usb/roles/intel-xhci-usb-role-switch.c
index 277de96181f9..caa1cfab41cc 100644
--- a/drivers/usb/roles/intel-xh
x27;t like KEY_POWER at resume. So
add a knob "/sys/module/button/parameters/key_power_at_resume" for users
to select.
Signed-off-by: Chen, Hu
---
drivers/acpi/button.c | 6 +-
drivers/acpi/sleep.c | 8
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/dri
From: "he, bo"
On some laptops, kxcjk1013 is powered off when system enters S3. We need
restore the range regiter during resume. Otherwise, the sensor doesn't
work properly after S3.
Signed-off-by: he, bo
Signed-off-by: Chen, Hu
---
v3: Avoid unnecessary mutex_unlock (Han
From: "he, bo"
On some laptops, kxcjk1013 is powered off when system enters S3. We need
restore the range regiter during resume. Otherwise, the sensor doesn't
work properly after S3.
Signed-off-by: he, bo
Signed-off-by: Chen, Hu
---
Changes in v2:
- Handle return value independ
rwise, its
opportunistic suspend will kick in shortly.
Signed-off-by: Chen, Hu
---
drivers/acpi/button.c | 4 +++-
drivers/acpi/sleep.c | 8
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index a19ff3977ac4..117718057938 100644
From: Chen Hu
Hi Rafael,
I run several popular Android performance benchmarks on teov7, using kernel
4.19.0 as my baseline because I happen to work on it. To backport teov7 to
kernel 4.19.0, I also backport patch 5f26bdc: "cpuidle: menu: Fix wakeup
statistics updates for polling state&
art_resume_port
...
So the baud rate is not restored after S3 and breaks the apps who use
UART, for example, console and bluetooth etc.
We address this issue by setting the baud rate irrespective of arg
"old", just like the drivers for other 8250 IPs. This is tested with
Intel Broxton platform
Hi Andy,
Thanks the feedback.
Is it better to modify the DesignWare 8250 driver directly? Or do you think is
this really an issue?
Thanks
Chen Hu
.
Signed-off-by: Chen Hu
---
drivers/tty/serial/serial_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index f02965936f2e..8b815f1539e8 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty
10 matches
Mail list logo