]> git.karo-electronics.de Git - linux-beck.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)
commit52db223e4cf414e216890643cda33e2626554471
treeef7b1b6d31882056f341bd90d254b3922c2dddbc
parent36ecbcab84d02381ab40363546616c0719adafdb
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