The KBS_KSOH1 register contains both keyboard and GPIO output settings. Not all bits are for the keyboard will be driven, so a critical section is needed to prevent race conditions. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>