From patchwork Sun Jul 2 14:40:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lynn Lei X-Patchwork-Id: 9821181 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 EAB9E602F0 for ; Sun, 2 Jul 2017 14:40:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7F5527CF9 for ; Sun, 2 Jul 2017 14:40:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC1AC28173; Sun, 2 Jul 2017 14:40:52 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 60C1627CF9 for ; Sun, 2 Jul 2017 14:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751682AbdGBOkv (ORCPT ); Sun, 2 Jul 2017 10:40:51 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:32834 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbdGBOkv (ORCPT ); Sun, 2 Jul 2017 10:40:51 -0400 Received: by mail-pf0-f194.google.com with SMTP id e199so22838603pfh.0; Sun, 02 Jul 2017 07:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=0WzxliB0Xc8yvJFR3KRArjz9u1p27YAlFPUYFX8VqyU=; b=TBlqDYrr7YYSpIVQPPoNnyyGRpDYXw6ukGbEM140BAyYMQYdI38SrsvNhYezF+L0Ds NhqMusSmhlnpNdt772FeieEbaXWQ5Tp0CeaTXQ0C65E1V95JOf8QWwJUW2witqmnNzKb T1wsRXXdm0Dbs/ASbsJXUUO7eIPmBHIxR5Gr6SSZyKwLDceooqBr4oJ3YPCtKHDp5hlK +B5IvaHDXXbVdjk1YZ6a9aqef4FfBedU6p/eH01dITMb46VxrDJlliYyBml/l6cvghiD oVKNp0kRvxNXXgZ11HR3OyEVnYyceHwxccbSfKoCPZl5DqlF3AKHKtMwfrrt3BB+5lVF +gAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=0WzxliB0Xc8yvJFR3KRArjz9u1p27YAlFPUYFX8VqyU=; b=VnrFDdzchx270kz76xw2V+wRtUkciAmp0pPOAS3QGDefRt2Rs0rIHlg6xzh/4xaOvf 8yi7E32dcGxekavE2UhRLg8BewwI87/QIpj3YntdQ73ZyJGQZxyHF+L33D1AAzhRzJv5 sczqDtP4ZvQ4t41e5OxiRRmV8iLiBn+V3QPz7+2Kxhjx0LJi4fh+TR52vUuyFzKjFQJz PoQtU5NI5Jo1X58Quxk1uFTynINd7Ss7zbpKg0z7nokTGBCeh98OVFxq1uND2ijAaDnF DeU8eP+tmpKy0WFFuDfeyOsA2VFNSN1W7rwaZUlBXNn4TYgwSpufGc0+gi+NJyQHoAYD ByjQ== X-Gm-Message-State: AIVw112nDQcIXehOsgPCYJytfHHfcOqFCg8EmTflb2Cl83Bx/mcShHLg G4Eu+mt29vxjqw== X-Received: by 10.99.23.100 with SMTP id 36mr5662868pgx.118.1499006450414; Sun, 02 Jul 2017 07:40:50 -0700 (PDT) Received: from lynnl.wit ([112.64.217.90]) by smtp.gmail.com with ESMTPSA id o84sm35296349pfj.109.2017.07.02.07.40.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Jul 2017 07:40:49 -0700 (PDT) Date: Sun, 2 Jul 2017 22:40:33 +0800 From: Lynn Lei To: sudipm.mukherjee@gmail.com Cc: teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence Message-ID: <20170702144033.GA5784@lynnl.wit> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP include PANEL_DISPLAY_CTRL_FPVDDEN control mask Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index 0f666dc2729a..c68367e6cdeb 100644 --- a/drivers/staging/sm750fb/ddk750_display.c +++ b/drivers/staging/sm750fb/ddk750_display.c @@ -89,7 +89,7 @@ static void swPanelPowerSequence(int disp, int delay) u32 reg; u32 opt[] = { PANEL_DISPLAY_CTRL_FPEN, PANEL_DISPLAY_CTRL_DATA, - PANEL_DISPLAY_CTRL_VBIASEN, PANEL_DISPLAY_CTRL_FPEN, + PANEL_DISPLAY_CTRL_VBIASEN, PANEL_DISPLAY_CTRL_FPVDDEN, }; u32 size, i;