summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorHanna Hawa <hhhawa@amazon.com>2022-12-28 16:48:13 +0000
committerWolfram Sang <wsa@kernel.org>2023-01-20 09:52:34 +0100
commit20cb3fce4d60deb5067380ff0e934b52c35749a6 (patch)
treef172ff19bf7bc825ead581dc76b7590cee511363 /drivers/i2c/busses
parent13e80244ca7e51d5eb7803f05e0579b11fc89048 (diff)
downloadlinux-20cb3fce4d60deb5067380ff0e934b52c35749a6.tar.gz
linux-20cb3fce4d60deb5067380ff0e934b52c35749a6.tar.bz2
linux-20cb3fce4d60deb5067380ff0e934b52c35749a6.zip
i2c: Set i2c pinctrl recovery info from it's device pinctrl
Currently the i2c subsystem rely on the controller device tree to initialize the pinctrl recovery information, part of the drivers does not set this field (rinfo->pinctrl), for example i2c DesignWare driver. The pins information is saved part of the device structure before probe and it's done on pinctrl_bind_pins(). Make the i2c init recovery to get the device pins if it's not initialized by the driver from the device pins. Signed-off-by: Hanna Hawa <hhhawa@amazon.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions