Re: [PATCH 02/12] i2c: qup: minor code reorganization for use_dma

2018-02-27 Thread Andy Gross
On Sat, Feb 03, 2018 at 01:28:07PM +0530, Abhishek Sahu wrote: > 1. Assigns use_dma in qup_dev structure itself which will >help in subsequent patches to determine the mode in IRQ handler. > 2. Does minor code reorganization for loops to reduce the >unnecessary comparison and assignment. >

Re: [PATCH 02/12] i2c: qup: minor code reorganization for use_dma

2018-02-27 Thread Christ, Austin
Tested on Centriq 2400 Reviewed-by: Austin Christ On 2/3/2018 12:58 AM, Abhishek Sahu wrote: 1. Assigns use_dma in qup_dev structure itself which will help in subsequent patches to determine the mode in IRQ handler. 2. Does minor code reorganization for loops to reduce the unnecessary

[PATCH 02/12] i2c: qup: minor code reorganization for use_dma

2018-02-02 Thread Abhishek Sahu
1. Assigns use_dma in qup_dev structure itself which will help in subsequent patches to determine the mode in IRQ handler. 2. Does minor code reorganization for loops to reduce the unnecessary comparison and assignment. Signed-off-by: Abhishek Sahu --- drivers/i2c/busses/i2c-qup.c | 19 +++