commit | eb422b539c1f39faf576826b54be93e84d9cb32a | [log] [tgz] |
---|---|---|
author | Abhishek Sahu <absahu@codeaurora.org> | Mon Mar 12 18:44:52 2018 +0530 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Mar 24 13:19:17 2018 +0100 |
tree | 6ee21c02eeccfcaf74d8a2c4ceac28be9a7d3f92 | |
parent | 7239872fb3400b21a8f5547257f9f86455867bd6 [diff] |
i2c: qup: minor code reorganization for use_dma 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 <absahu@codeaurora.org> Reviewed-by: Austin Christ <austinwc@codeaurora.org> Reviewed-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>