diff options
author | Archit Taneja <architt@codeaurora.org> | 2017-07-28 16:16:59 +0530 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-08-01 18:43:36 -0400 |
commit | b0e77fd87cf302351e537881c8daf8d1c69cf541 (patch) | |
tree | 57decf34a31dfa57b75efeacfe5d5a7d7a9ecec6 /drivers/gpu/drm | |
parent | 79687057c2880d871451f107548187e4853c38e6 (diff) | |
download | linux-b0e77fd87cf302351e537881c8daf8d1c69cf541.tar.gz linux-b0e77fd87cf302351e537881c8daf8d1c69cf541.tar.bz2 linux-b0e77fd87cf302351e537881c8daf8d1c69cf541.zip |
drm/msm/mdp5: Fix typo in encoder_enable path
The mdp5_cmd_encoder_disable is accidentally called in the encoder enable
path. We've not seen any problems since we haven't tested with command
mode panels in a while. Fix the copy-paste error.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c index 97f3294fbfc6..70bef51245af 100644 --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c @@ -299,7 +299,7 @@ static void mdp5_encoder_enable(struct drm_encoder *encoder) struct mdp5_interface *intf = mdp5_encoder->intf; if (intf->mode == MDP5_INTF_DSI_MODE_COMMAND) - mdp5_cmd_encoder_disable(encoder); + mdp5_cmd_encoder_enable(encoder); else mdp5_vid_encoder_enable(encoder); } |