mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-14 17:28:23 +01:00
28 lines
935 B
Diff
28 lines
935 B
Diff
From 332748a389a88f8d78c5b2c70cf5c29f7098c703 Mon Sep 17 00:00:00 2001
|
|
From: Ricardo Pardini <ricardo@pardini.net>
|
|
Date: Mon, 2 Oct 2023 16:24:12 +0200
|
|
Subject: [PATCH] wifi uwe fix uwe5622 tty-sdio
|
|
|
|
---
|
|
drivers/net/wireless/uwe5622/tty-sdio/tty.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/uwe5622/tty-sdio/tty.c b/drivers/net/wireless/uwe5622/tty-sdio/tty.c
|
|
index 6498272fc192..36fc7dd558d4 100644
|
|
--- a/drivers/net/wireless/uwe5622/tty-sdio/tty.c
|
|
+++ b/drivers/net/wireless/uwe5622/tty-sdio/tty.c
|
|
@@ -467,8 +467,8 @@ static int sdio_data_transmit(uint8_t *data, size_t count)
|
|
return mtty_write(NULL, data, count);
|
|
}
|
|
|
|
-static int mtty_write_plus(struct tty_struct *tty,
|
|
- const unsigned char *buf, int count)
|
|
+static ssize_t mtty_write_plus(struct tty_struct *tty, const u8 *buf,
|
|
+ size_t count)
|
|
{
|
|
return sitm_write(buf, count, sdio_data_transmit);
|
|
}
|
|
--
|
|
2.42.0
|
|
|