lenovo/x60: Fetch 16 bits when trying to parse bit 13
commitb9eee8e468a78789dce8d5af12274fc0dc2d5007
authorPatrick Georgi <pgeorgi@chromium.org>
Tue, 2 Aug 2016 12:28:49 +0000 (2 14:28 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 3 Aug 2016 20:53:21 +0000 (3 22:53 +0200)
tree67c3b4d2141e0106b231c03aefa510c2fba7851e
parentd6319e8cc08995564d9834a654c78c3d5e111822
lenovo/x60: Fetch 16 bits when trying to parse bit 13

I'm not sure if that's the right fix here, but assuming the bit mask is
right, the inb is wrong.

Change-Id: I7e33019af088780a09be12513200bec63734bf97
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1229556
Reviewed-on: https://review.coreboot.org/16026
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
src/mainboard/lenovo/x60/dock.c