On Wed, Oct 26, 2016 at 02:26:05PM +0700, Tin Huynh wrote: > But can you explain more about 'but even that starts to require small > helper function'?
So you could add a small function i2c_dw_xfer_need_stop() that returns true if you need to set the stop bit.