Skip to content

Commit

Permalink
linux-pinephonepro: Update to 5.16.0-rc6
Browse files Browse the repository at this point in the history
Update to latest 5.16.0-rc6 with patches from Mobian.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
  • Loading branch information
Herrie82 committed Dec 20, 2021
1 parent a102b3b commit dad438c
Show file tree
Hide file tree
Showing 84 changed files with 16,966 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From: Ondrej Jirman <megous@megous.com>
Date: Mon, 15 Nov 2021 04:09:50 +0100
Subject: [PATCH 01/36] base: property: Swap order of search for connection to
"devcon, graph"

This avoids confusing error in kernel log, when using devcon matching
in DT. Example:

"OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22"

This suggest there's some error because graph based search failed,
but there is no error, because devcon based matching succeeds.

Signed-off-by: Ondrej Jirman <megous@megous.com>
---
drivers/base/property.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/property.c b/drivers/base/property.c
index f1f35b4..68cb945 100644
--- a/drivers/base/property.c
+++ b/drivers/base/property.c
@@ -1261,10 +1261,10 @@ void *fwnode_connection_find_match(struct fwnode_handle *fwnode,
if (!fwnode || !match)
return NULL;

- ret = fwnode_graph_devcon_match(fwnode, con_id, data, match);
+ ret = fwnode_devcon_match(fwnode, con_id, data, match);
if (ret)
return ret;

- return fwnode_devcon_match(fwnode, con_id, data, match);
+ return fwnode_graph_devcon_match(fwnode, con_id, data, match);
}
EXPORT_SYMBOL_GPL(fwnode_connection_find_match);

0 comments on commit dad438c

Please sign in to comment.