]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: qup: Fix fifo handling after adding V2 support
authorSricharan R <sricharan@codeaurora.org>
Fri, 26 Feb 2016 15:58:54 +0000 (21:28 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Mar 2016 21:25:22 +0000 (22:25 +0100)
commit685421b99476849ef2c86bb219d9cde738021f08
treeef7b1b6d31882056f341bd90d254b3922c2dddbc
parent1f78ae5fa88493f77b2112cdf70df564f92784c2
i2c: qup: Fix fifo handling after adding V2 support

After the addition of V2 support, there was a regression observed
when testing it on MSM8996. The reason is driver puts the controller
in to RUN state and writes the data to be 'tx' ed in fifo. But controller
has to be put in to 'PAUSE' state and data has to written to fifo. Then
should be put in to 'RUN' state separately.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Tested-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c