Commit fa714444 authored by Sricharan R's avatar Sricharan R Committed by Srinivas Kandagatla
Browse files

qup: i2c: factor out common code for reuse



The qup_i2c_write/read_one functions can be split to have
the common initialization code and function to loop around
the data bytes separately. This way the initialization code
can be reused while adding v2 tags functionality.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
parent 0274df31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment