]> git.baikalelectronics.ru Git - uboot.git/commit
x86: pinctrl: Set up itss in the probe() method
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:22 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit0de94cec01cee3f832f2ecf555dc85c1d3736603
treec8bbf06c56431937bdf8c165185ea63210234659
parenta55a6ee08fcc8f66cee15c9867803212fa58f7ad
x86: pinctrl: Set up itss in the probe() method

At present the itss is probed in the ofdata_to_platdata() method. This is
incorrect since itss is a child of p2sb which itself needs to probe the
pinctrl device. This means that p2sb is effectively not probed when the
itss is probed, so we get the wrong register address from p2sb.

Fix this by moving the itss probe to the correct place.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
drivers/pinctrl/intel/pinctrl.c