From patchwork Fri Jul 28 10:46:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Archit Taneja X-Patchwork-Id: 9868425 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 289886035E for ; Fri, 28 Jul 2017 10:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2503D288A0 for ; Fri, 28 Jul 2017 10:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1881D288B7; Fri, 28 Jul 2017 10:47:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1F43288A0 for ; Fri, 28 Jul 2017 10:47:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751681AbdG1Kr0 (ORCPT ); Fri, 28 Jul 2017 06:47:26 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46440 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbdG1KrZ (ORCPT ); Fri, 28 Jul 2017 06:47:25 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5DA8360998; Fri, 28 Jul 2017 10:47:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501238845; bh=hwtO9mHAykmAU3JW3PXCDs3V/gKynlNGQVUHhbf2J9c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=USRqcqJqOrTrKUiWRZj1McWlCugWgFhuR52ibmgzM1PMGk/wQaYwfErbB+Y234MuI R/RklFPOt3Pv47suiRVia9SydzHqxkxMdCnK7nt38KRjaCvCwY3S3IorXKE5L/y0+X 10tPYEgkc2gRacta/7Fffplbzw8bU7c13+stOuAU= Received: from localhost (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4762360998; Fri, 28 Jul 2017 10:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501238844; bh=hwtO9mHAykmAU3JW3PXCDs3V/gKynlNGQVUHhbf2J9c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GEcoEjVF+wbH5cpEQizvbLWH3FwLS0CGwZ+g3INv9W3lxzYyHD9R6Hg1iQTf1Bo6j XhOARwCJzjnCuaew2BStUbwCRpTzET/SrtrMqKIH+V+0ZPXEkH7ZiyNLyz3RgvRM2Q udhkoL+Glq39+RyyGWbkuJKMCH8NRFzRH64YldHY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4762360998 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=architt@codeaurora.org From: Archit Taneja To: robdclark@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Archit Taneja Subject: [PATCH 01/10] drm/msm/mdp5: Fix typo in encoder_enable path Date: Fri, 28 Jul 2017 16:16:59 +0530 Message-Id: <20170728104708.20635-2-architt@codeaurora.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170728104708.20635-1-architt@codeaurora.org> References: <20170728104708.20635-1-architt@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }