Searched hist:"31 d38ee66dfad4284866267ff0651fa0614dad3c" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/input/ |
| H A D | i8042.c | 31d38ee66dfad4284866267ff0651fa0614dad3c Mon Oct 19 03:17:19 UTC 2015 Simon Glass <sjg@chromium.org> i8042: Use functions to handle register access
At present the register access in kbd_reset() is quite primitive. This makes it hard to follow.
Create functions to read and write data, both to a single register, and via the command/data approach.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-on: Intel Crown Bay and QEMU Tested-by: Bin Meng <bmeng.cn@gmail.com>
|