]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/msm/dsi: Simplify the code to get the number of read byte
authorHai Li <hali@codeaurora.org>
Wed, 29 Apr 2015 15:39:00 +0000 (11:39 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 14 May 2015 20:57:25 +0000 (16:57 -0400)
commitec1936eb099bb8c1c7a32b9ac4be128e1e68e2d9
treeea983e4e0a0cd01ca1f057414f21f38e931f0a96
parent6f6b287968681f660e151c202765da9f58d3dcba
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>
drivers/gpu/drm/msm/dsi/dsi_host.c