Re: [PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Marek Vasut
On Thursday, July 24, 2014 at 05:36:34 AM, Yao Yuan wrote: > Hi, > > Marek Vasut wrote: > > On Wednesday, July 23, 2014 at 10:24:41 AM, Yuan Yao wrote: > > > Changed in v5: > > > - add "*chan_dev = dma->chan_using->device->dev" for reduce the call > > > time. > > > > Did you check if the compiler

RE: [PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yao Yuan
Hi, Marek Vasut wrote: > On Wednesday, July 23, 2014 at 10:24:41 AM, Yuan Yao wrote: > > Changed in v5: > > - add "*chan_dev = dma->chan_using->device->dev" for reduce the call time. > > Did you check if the compiler generates different code ? > Sorry, I didn't compare the assembly code. It's a

Re: [PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Marek Vasut
On Wednesday, July 23, 2014 at 10:24:41 AM, Yuan Yao wrote: > Changed in v5: > - add "*chan_dev = dma->chan_using->device->dev" for reduce the call time. Did you check if the compiler generates different code ? > - add the test logs. [...] Best regards, Marek Vasut -- To unsubscribe from this l

[PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yuan Yao
Changed in v5: - add "*chan_dev = dma->chan_using->device->dev" for reduce the call time. - add the test logs. Changed in v4: - cancelled "i2c_imx->use_dma". - changed "Dma" to "DMA". - add Timeout handling for Transfer complete. Changed in v3: - fix a bug when request the dma faild. - some mi