summarylogtreecommitdiffstats
path: root/0001-ucsi.patch
diff options
context:
space:
mode:
authorUlrich Huber2022-09-21 22:22:53 +0200
committerUlrich Huber2022-09-21 22:24:35 +0200
commit778a33aea26bdc9b92b9681980e2081c4899ddb9 (patch)
tree96bffb72ec28614e08a89141c26dca1da39031f4 /0001-ucsi.patch
parent3b45b83f896a7e2fa1d88201c4f561c9decabc2e (diff)
downloadaur-778a33aea26bdc9b92b9681980e2081c4899ddb9.tar.gz
Update to 5.19.9-arch1 with adapted fixes from Philipp Jungkamp
Diffstat (limited to '0001-ucsi.patch')
-rw-r--r--0001-ucsi.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/0001-ucsi.patch b/0001-ucsi.patch
deleted file mode 100644
index cd3eb11fcc5e..000000000000
--- a/0001-ucsi.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-This makes it possible to execute next command immediately
-after the busy condition.
-
-Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
----
- drivers/usb/typec/ucsi/ucsi.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
-index 5ef5bd0e87cf2..ffb5be51daf85 100644
---- a/drivers/usb/typec/ucsi/ucsi.c
-+++ b/drivers/usb/typec/ucsi/ucsi.c
-@@ -128,8 +128,10 @@ static int ucsi_exec_command(struct ucsi *ucsi, u64 cmd)
- if (ret)
- return ret;
-
-- if (cci & UCSI_CCI_BUSY)
-+ if (cci & UCSI_CCI_BUSY) {
-+ ucsi->ops->async_write(ucsi, UCSI_CANCEL, NULL, 0);
- return -EBUSY;
-+ }
-
- if (!(cci & UCSI_CCI_COMMAND_COMPLETE))
- return -EIO;
---
-2.32.0