nuvoton/nct5572d: Disable mouse controller also during resume
Currently, having a keyboard connected to the PS/2 controller of the ASRock E350M1, after suspending and resuming the system, the keyboard does not work anymore. A similar problem is documented in commit 448e3863 (drivers/pc80: Add PS/2 mouse presence detect) [1]. There is no reason to not disable the controller during resume. Also, that way, the PS2 ASL method does not need to be overriden. [1] https://review.coreboot.org/13165 TEST=Resume system, and notice PS/2 keyboard works. Change-Id: I51dc446861120f80bc9ffc4cc54b86e317d99689 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/22287 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
6ff1078990
commit
88a61bbd00
@ -56,7 +56,7 @@ static void nct5572d_init(struct device *dev)
|
|||||||
|
|
||||||
mouse_detected = pc_keyboard_init(PROBE_AUX_DEVICE);
|
mouse_detected = pc_keyboard_init(PROBE_AUX_DEVICE);
|
||||||
|
|
||||||
if (!mouse_detected && !acpi_is_wakeup_s3()) {
|
if (!mouse_detected) {
|
||||||
printk(BIOS_INFO, "%s: Disable mouse controller.",
|
printk(BIOS_INFO, "%s: Disable mouse controller.",
|
||||||
__func__);
|
__func__);
|
||||||
pnp_enter_conf_mode_8787(dev);
|
pnp_enter_conf_mode_8787(dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user