Thread (6 messages) 6 messages, 2 authors, 2021-04-13

Re: [bug report] HID: ft260: add usb hid to i2c host bridge driver

From: Michael Zaidman <michael.zaidman@gmail.com>
Date: 2021-04-13 15:53:00
Also in: linux-input

On Mon, Apr 12, 2021 at 12:11:51PM +0300, Dan Carpenter wrote:
On Sun, Apr 11, 2021 at 12:04:25AM +0300, Michael Zaidman wrote:
quoted
Oh, you are right. Despite that the SMbus block transaction limits the maximum
number of bytes to 32, nothing prevents a user from specifying via ioctl a larger
data size than the ft260 can handle in a single transfer.

I am going to fix it in the ft260_smbus_write (with your Signed-off-by), but
perhaps we should fix it in the first place, in the i2cdev_ioctl_smbus routine?
What do you think?
Could you just give me a Reported-by tag?  Thanks!

regards,
dan carpenter
Done, thanks!  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help