]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "i2c: core: support bus regulator controlling in adapter"
authorWolfram Sang <wsa@kernel.org>
Thu, 6 Jan 2022 12:24:52 +0000 (13:24 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 7 Jan 2022 20:27:15 +0000 (21:27 +0100)
commited2763210f8a2d364b5cb8fdba0729dff3430c96
tree6ba137d69c8dc0b151f4038296860cc4d467ef71
parent3ce818805a757799e59b842ad80063622e150d16
Revert "i2c: core: support bus regulator controlling in adapter"

This largely reverts commit e73669244f65eb63686d89331136470fd8df1c7b. It
breaks suspend with AMD GPUs, and we couldn't incrementally fix it. So,
let's remove the code and go back to the drawing board. We keep the
header extension to not break drivers already populating the regulator.
We expect to re-add the code handling it soon.

Fixes: e73669244f65 ("i2c: core: support bus regulator controlling in adapter")
Reported-by: "Tareque Md.Hanif" <tarequemd.hanif@yahoo.com>
Link: https://lore.kernel.org/r/1295184560.182511.1639075777725@mail.yahoo.com
Reported-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Link: https://lore.kernel.org/r/7143a7147978f4104171072d9f5225d2ce355ec1.camel@yandex.ru
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1850
Tested-by: "Tareque Md.Hanif" <tarequemd.hanif@yahoo.com>
Tested-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Cc: <stable@vger.kernel.org> # 5.14+
drivers/i2c/i2c-core-base.c