diff --git a/kb_led.c b/kb_led.c index 672ef12..58773b0 100644 --- a/kb_led.c +++ b/kb_led.c @@ -2,8 +2,6 @@ * led.c * * Copyright (C) 2017 Jeremy Soller - * Copyright (C) 2014-2016 Arnoud Willemsen - * Copyright (C) 2013-2015 TUXEDO Computers GmbH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,21 +29,9 @@ static void kb_led_update(struct work_struct *work) { struct _kb_led_work *w; w = container_of(work, struct _kb_led_work, work); - // - // ec_read(0xD9, &byte); - // - // ec_write(0xD9, w->wk ? byte & ~0x40 : byte | 0x40); - // - // /* wmbb 0x6C 1 (?) */ } static enum led_brightness kb_led_get(struct led_classdev *led_cdev) { - // u8 byte; - // - // ec_read(0xD9, &byte); - // - // return byte & 0x40 ? LED_OFF : LED_FULL; - return LED_OFF; } diff --git a/system76.c b/system76.c index f6e577f..7320463 100644 --- a/system76.c +++ b/system76.c @@ -234,9 +234,9 @@ static int s76_probe(struct platform_device *dev) { s76_wmbb(0x46, 0, NULL); // Enable touchpad lock - //i8042_lock_chip(); - //i8042_command(NULL, 0x97); - //i8042_unlock_chip(); + i8042_lock_chip(); + i8042_command(NULL, 0x97); + i8042_unlock_chip(); return 0; }