summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-06 18:41:30 +0200
committerLee Jones <lee@kernel.org>2022-07-14 11:50:25 +0200
commit559793198f9280cdd56c438f5258e315ed8a6cbc (patch)
tree1caf9cd98ba53f4124ea35b3331b500650b85a44 /drivers/i2c
parentmfd: lpc_ich: Factor out lpc_ich_enable_spi_write() (diff)
downloadlinux-559793198f9280cdd56c438f5258e315ed8a6cbc.tar.xz
linux-559793198f9280cdd56c438f5258e315ed8a6cbc.zip
mfd: lpc_ich: Switch to generic p2sb_bar()
Instead of open coding p2sb_bar() functionality we are going to use generic library. There is one more user en route. This is more than just a clean-up. It also fixes a potential issue seen when SPI BAR is 64-bit. The current code works if and only if the PCI BAR of the hidden device is inside 4G address space. In case when firmware decides to go above 4G, we will get a wrong address. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Henning Schild <henning.schild@siemens.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions