summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 21:17:19 -0600
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:40 -0700
commit31d38ee66dfad4284866267ff0651fa0614dad3c (patch)
tree52e324ca52b1f401bdbf99f6a029684f7415ef44 /drivers/input/keyboard-uclass.c
parent7fe0933c5898e5cce70407184fd458cf3ad9ee32 (diff)
downloadblackbird-obmc-uboot-31d38ee66dfad4284866267ff0651fa0614dad3c.tar.gz
blackbird-obmc-uboot-31d38ee66dfad4284866267ff0651fa0614dad3c.zip
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>
Diffstat (limited to 'drivers/input/keyboard-uclass.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud