diff options
-rw-r--r-- | src/mainboard/lenovo/t400/dock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/dock.c b/src/mainboard/lenovo/t400/dock.c index 65dd6f0514..74711e1227 100644 --- a/src/mainboard/lenovo/t400/dock.c +++ b/src/mainboard/lenovo/t400/dock.c @@ -236,11 +236,21 @@ void dock_connect(void) return; } pc87384_init(); + + ec_write(H8_LED_CONTROL, + H8_LED_CONTROL_OFF | H8_LED_CONTROL_DOCK_LED1); + ec_write(H8_LED_CONTROL, + H8_LED_CONTROL_ON | H8_LED_CONTROL_DOCK_LED2); } void dock_disconnect(void) { pc87382_disconnect(); + + ec_write(H8_LED_CONTROL, + H8_LED_CONTROL_OFF | H8_LED_CONTROL_DOCK_LED1); + ec_write(H8_LED_CONTROL, + H8_LED_CONTROL_OFF | H8_LED_CONTROL_DOCK_LED2); } void h8_mainboard_init_dock(void) |