diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-19 14:18:24 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-19 09:36:17 -0800 |
| commit | 1e0beab0ed9256476d553c961db26f272c4b89b3 (patch) | |
| tree | 940c1648766971bba6cac08a75cda9c582009bc6 | |
| parent | c166308bc959351a8441c1139e5d597b10aef3c7 (diff) | |
| download | meta-openembedded-1e0beab0ed9256476d553c961db26f272c4b89b3.tar.gz | |
libgpiod: update to v2.2.1
The main set of changes in this release doesn't concern yocto - it
brings in proper sphinx docs infrastructure for publishin on
readthedocs. We still have a bunch of code fixes though and we can also
remove the patch we're carrying in the recipe as it's upstream now.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb (renamed from meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb) | 7 |
2 files changed, 2 insertions, 39 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch deleted file mode 100644 index 9747613aa6..0000000000 --- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 7df2bb4f51281166633d4acbcff5763150add3fa Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
| 3 | Date: Mon, 3 Feb 2025 13:20:41 +0100 | ||
| 4 | Subject: [PATCH] bindings: cxx: tests: disable GPIO simulator before releasing it | ||
| 5 | |||
| 6 | Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an | ||
| 7 | instantiated device depends on") uncovered an issue in C++ bindings | ||
| 8 | tests where the GPIO simulator device is not disabled before removing its | ||
| 9 | configfs entries. Add a call to gpiosim_dev_disable() to the | ||
| 10 | gpiosim::chip's destructor. | ||
| 11 | |||
| 12 | Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
| 13 | |||
| 14 | Upstream-Status: Submitted [https://lore.kernel.org/all/20250203-fix-gpiosim-in-bindings-v1-1-d2c9e0f3a29d@linaro.org/] | ||
| 15 | --- | ||
| 16 | bindings/cxx/tests/gpiosim.cpp | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/bindings/cxx/tests/gpiosim.cpp b/bindings/cxx/tests/gpiosim.cpp | ||
| 20 | index 4bda5a2..cdecd8d 100644 | ||
| 21 | --- a/bindings/cxx/tests/gpiosim.cpp | ||
| 22 | +++ b/bindings/cxx/tests/gpiosim.cpp | ||
| 23 | @@ -115,7 +115,7 @@ chip::chip(chip&& other) | ||
| 24 | |||
| 25 | chip::~chip() | ||
| 26 | { | ||
| 27 | - | ||
| 28 | + ::gpiosim_dev_disable(this->_m_priv->dev.get()); | ||
| 29 | } | ||
| 30 | |||
| 31 | chip& chip::operator=(chip&& other) | ||
| 32 | -- | ||
| 33 | 2.45.2 | ||
| 34 | |||
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb index 054d378451..b72d960c10 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb | |||
| @@ -11,12 +11,9 @@ LIC_FILES_CHKSUM = " \ | |||
| 11 | 11 | ||
| 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" | 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" |
| 13 | 13 | ||
| 14 | SRC_URI += " \ | 14 | SRC_URI += "file://gpio-manager.init" |
| 15 | file://gpio-manager.init \ | ||
| 16 | file://0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch \ | ||
| 17 | " | ||
| 18 | 15 | ||
| 19 | SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07" | 16 | SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18" |
| 20 | 17 | ||
| 21 | # Enable all project features for ptest | 18 | # Enable all project features for ptest |
| 22 | PACKAGECONFIG[tests] = " \ | 19 | PACKAGECONFIG[tests] = " \ |
