Thread (2 messages) 2 messages, 2 authors, 2016-11-23

Re: [PATCH v4 1/2] i2c: aspeed: added driver for Aspeed I2C

From: Brendan Higgins <hidden>
Date: 2016-11-23 23:52:42
Also in: linux-i2c, openbmc

is it safe to start a new transaction when in a interrupt handler ?
Yep, i2c_transfer and most of the other functions in the i2c API that
wrap the implementations already lock for you.
Why do you multiply by * msg->len ?
I thought it might make sense to make timeout proportional to message
length, so their would be a timeout per byte, like what the hardware
already does. I guess we should just leave that up to the user to
determine on their own?
use devm_kzalloc() may be ?
Whoops, good catch. Will update in next version.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help