commit | ec1936eb099bb8c1c7a32b9ac4be128e1e68e2d9 | [log] [tgz] |
---|---|---|
author | Hai Li <hali@codeaurora.org> | Wed Apr 29 11:39:00 2015 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Thu May 14 16:57:25 2015 -0400 |
tree | ea983e4e0a0cd01ca1f057414f21f38e931f0a96 | |
parent | 6f6b287968681f660e151c202765da9f58d3dcba [diff] |
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: Hai Li <hali@codeaurora.org>