]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: gpio: gpio-sim: Fix missing chip disablements
authorKoichiro Den <koichiro.den@canonical.com>
Wed, 22 Jan 2025 04:33:09 +0000 (13:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 12:50:00 +0000 (13:50 +0100)
commit04bac40ad5d6c339650fc72ea9b074a899ffd303
treeb10e6e24ebe6358944aa5b7c622d51a0e0406935
parent0db813696df1e97bdfe6763c040127e11be0af60
selftests: gpio: gpio-sim: Fix missing chip disablements

[ Upstream commit f8524ac33cd452aef5384504b3264db6039a455e ]

Since upstream commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
instantiated device depends on"), rmdir for an active virtual devices
been prohibited.

Update gpio-sim selftest to align with the change.

Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202501221006.a1ca5dfa-lkp@intel.com
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/20250122043309.304621-1-koichiro.den@canonical.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/gpio/gpio-sim.sh