]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/msm/dsi: Report PHY errors only when they really occur
authorArchit Taneja <architt@codeaurora.org>
Thu, 25 Jun 2015 05:59:24 +0000 (11:29 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:14 +0000 (18:27 -0400)
commit01199361c665245d557b8eefef56d648ddb3867a
tree7104a606c1d488b28d4b4a12fa273c301d32e254
parent9b7a9fc29a48026d797cbf237121850c1c241df4
drm/msm/dsi: Report PHY errors only when they really occur

DSI PHY errors are falsely reported whenever a dsi error occurs. This is
because DSI_DLN0_PHY_ERR isn't only used as a status register, but also
used to mask PHY errors. Currently, we end up reading the mask bits too
and therefore always report errors.

Ignore the register mask bits and check for only the status/clear bits.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c