Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f7418793 authored by Sricharan R's avatar Sricharan R Committed by Wolfram Sang
Browse files

i2c: qup: Transfer each i2c_msg in i2c_msgs without a stop bit



The definition of i2c_msg says that

"If this is the last message in a group, it is followed by a STOP.
Otherwise it is followed by the next @i2c_msg transaction segment,
beginning with a (repeated) START"

So the expectation is that there is no 'STOP' bit inbetween individual
i2c_msg segments with repeated 'START'. Adding the support for the same.

This is required for some clients like touchscreen which keeps
incrementing counts across individual transfers and 'STOP' bit inbetween
resets the counter, which is not required.

This patch adds the support in non-dma mode.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
Reviewed-by: default avatarAndy Gross <andy.gross@linaro.org>
Tested-by: default avatarArchit Taneja <architt@codeaurora.org>
Tested-by: default avatarTelkar Nagender <ntelkar@codeaurora.org>
[wsa: updated commit message]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 191424bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment