mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
c166308bc9
commit
1e0beab0ed
-34
@@ -1,34 +0,0 @@
|
|||||||
From 7df2bb4f51281166633d4acbcff5763150add3fa Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
|
|
||||||
Date: Mon, 3 Feb 2025 13:20:41 +0100
|
|
||||||
Subject: [PATCH] bindings: cxx: tests: disable GPIO simulator before releasing it
|
|
||||||
|
|
||||||
Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
|
|
||||||
instantiated device depends on") uncovered an issue in C++ bindings
|
|
||||||
tests where the GPIO simulator device is not disabled before removing its
|
|
||||||
configfs entries. Add a call to gpiosim_dev_disable() to the
|
|
||||||
gpiosim::chip's destructor.
|
|
||||||
|
|
||||||
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://lore.kernel.org/all/20250203-fix-gpiosim-in-bindings-v1-1-d2c9e0f3a29d@linaro.org/]
|
|
||||||
---
|
|
||||||
bindings/cxx/tests/gpiosim.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/bindings/cxx/tests/gpiosim.cpp b/bindings/cxx/tests/gpiosim.cpp
|
|
||||||
index 4bda5a2..cdecd8d 100644
|
|
||||||
--- a/bindings/cxx/tests/gpiosim.cpp
|
|
||||||
+++ b/bindings/cxx/tests/gpiosim.cpp
|
|
||||||
@@ -115,7 +115,7 @@ chip::chip(chip&& other)
|
|
||||||
|
|
||||||
chip::~chip()
|
|
||||||
{
|
|
||||||
-
|
|
||||||
+ ::gpiosim_dev_disable(this->_m_priv->dev.get());
|
|
||||||
}
|
|
||||||
|
|
||||||
chip& chip::operator=(chip&& other)
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
||||||
+2
-5
@@ -11,12 +11,9 @@ LIC_FILES_CHKSUM = " \
|
|||||||
|
|
||||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += "file://gpio-manager.init"
|
||||||
file://gpio-manager.init \
|
|
||||||
file://0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07"
|
SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18"
|
||||||
|
|
||||||
# Enable all project features for ptest
|
# Enable all project features for ptest
|
||||||
PACKAGECONFIG[tests] = " \
|
PACKAGECONFIG[tests] = " \
|
||||||
Reference in New Issue
Block a user