octl_smbus()
--> i2c_smbus_xfer
--> __i2c_smbus_xfer
--> ft260_smbus_xfer
--> ft260_smbus_write
This patch adds data size checking in the ft260_smbus_write().
Signed-off-by: Michael Zaidman
Reported-by: Dan Carpenter
---
drivers/hid/hid-ft260.c | 5 ++
On Fri, Mar 19, 2021 at 02:26:43PM +0100, Jiri Kosina wrote:
> On Thu, 18 Mar 2021, Dan Carpenter wrote:
>
> > The "len" variable is uninitialize.
> >
> > Fixes: 6a82582d9fa4 ("HID: ft260: add usb hid to i2c host bridge driver")
> > Signed-off-by: Dan Carpenter
> > ---
> >
On Thu, Mar 04, 2021 at 11:14:06AM +, Aaron Jones wrote:
> From: Aaron Jones(FTDI-UK)
>
> On Fri, Feb 19, 2021 at 06:36:44PM +0200, Michael Zaidman wrote:
> > The FTDI FT260 chip implements USB to I2C/UART bridges through two
> > USB HID class interfaces. The first - fo
.
Michael Zaidman (1):
HID: ft260: add usb hid to i2c host bridge driver
MAINTAINERS |7 +
drivers/hid/Kconfig | 11 +
drivers/hid/Makefile|1 +
drivers/hid/hid-ft260.c | 1053 +++
drivers/hid/hid-ids.h |1 +
5 files
diff --git a/MAINTAINERS b/MAINTAINERS
index 8a6fe5389d7d..30526cfd4994 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7328,6 +7328,13 @@ F: fs/verity/
F: include/linux/fsverity.h
F: include/uapi/linux/fsverity.h
+FT260 FTDI USB-HID TO I2C BRIDGE DRIVER
+M: Michael Zaidman
Interrupt IN and one
Interrupt OUT pipes per interface. For configuration and control,
the FT260 exposes the HID class commands through the Control pipe.
Commands and responses are FT260 specific and documented in the
AN_394_User_Guide_for_FT260.pdf on the https://www.ftdichip.com.
Michael Zaidman (1
support.
Signed-off-by: Michael Zaidman
---
MAINTAINERS |7 +
drivers/hid/Kconfig | 11 +
drivers/hid/Makefile|2 +
drivers/hid/hid-ft260.c | 1097 +++
drivers/hid/hid-ids.h |1 +
5 files changed, 1118 insertions(+)
create
7 matches
Mail list logo