commit | ec5c786a881c9091da19921f50636367c11ad518 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 06 19:28:13 2016 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 17 10:27:23 2016 +0800 |
tree | 8c665fe4cc09d214271a724875adeae7b88caa14 | |
parent | ed5652c1c6a4c0c642fea6b53b9bfe85d18f5a49 [diff] |
x86: gpio: Correct GPIO setup ordering The Intel GPIO driver can set up the GPIO pin mapping when the first GPIO is probed. However, it assumes that the first GPIO to be probed is in the first GPIO bank. If this is not the case then the init will write to the wrong registers. Fix this. Also add a note that this code is deprecated. We should move to using device tree instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>