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

Skip to content
Commit ec1936eb authored by Hai Li's avatar Hai Li Committed by Rob Clark
Browse files

drm/msm/dsi: Simplify the code to get the number of read byte



During cmd rx, only new versions of H/W provide register to read back
the real number of byte returned by panel. For the old versions, reading
this register will not get the right number. In fact, we only need to
assume the returned data is the same size as we expected, because later
we will check the data type to detect error.

Signed-off-by: default avatarHai Li <hali@codeaurora.org>
parent 6f6b2879
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment