From patchwork Tue Feb 26 03:05:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2183811 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 21562DF215 for ; Tue, 26 Feb 2013 03:32:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D77DFE64A0 for ; Mon, 25 Feb 2013 19:32:48 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id EEF40E6379 for ; Mon, 25 Feb 2013 19:05:52 -0800 (PST) Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MIT00EJP4LQKPE0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Tue, 26 Feb 2013 12:05:50 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 77.5C.02494.E862C215; Tue, 26 Feb 2013 12:05:50 +0900 (KST) X-AuditID: cbfee68d-b7f636d0000009be-65-512c268e49ba Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 21.BC.03918.E862C215; Tue, 26 Feb 2013 12:05:50 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MIT009RA4LQ2T40@mmp2.samsung.com>; Tue, 26 Feb 2013 12:05:50 +0900 (KST) From: Jingoo Han To: 'Dave Airlie' Subject: [PATCH] fbmon: use VESA_DMT_VSYNC_HIGH to fix typo Date: Tue, 26 Feb 2013 12:05:50 +0900 Message-id: <009501ce13ce$2e912d20$8bb38760$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4Tzi5yszIOMXuAQASfHdbAcQ0aLw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsVy+t8zI90+NZ1Ag29NJha9504yWVz5+p7N onPmNUaLywsvsVqc6PvAavHp40IWBzaPDx/jPLZ/e8Dqcb/7OJNH/18Dj74tqxg9Pm+SC2CL 4rJJSc3JLEst0rdL4Mo41sRf0MNe8XnrPPYGxka2LkZODgkBE4nTq+YzQ9hiEhfurQeKc3EI CSxjlNi3egYjTNH9Z1+gEtMZJf5tvMkK4fxilHi59wErSBWbgJrEly+H2bsYOThEBFQkrrww AQkzC1xilPi8TBrEFhawlnj6/zkLiM0ioCpxZ+EpJpByXgFbib6ZYOW8AoISPybfY4Fo1ZJY v/M4E4QtL7F5zVtmkHIJAXWJR391QcIiAnoSPY8bocpFJPa9eAd18jl2idYZ+RCbBCS+TT7E AtEqK7HpANS7khIHV9xgmcAoNgvJ4llIFs9CsngWkg0LGFlWMYqmFiQXFCelFxnqFSfmFpfm pesl5+duYoTEYO8OxtsHrA8xJgOtn8gsJZqcD4zhvJJ4Q2NjEzMTUxNzS1NzU9KElcR55S7J BAoJpCeWpGanphakFsUXleakFh9iZOLglGpgXKr0a5bWOsn+C6feR14pvujU6u3GKz3BdY5p 0HpegwD5hG7N7BNp8w0CqvULS94dmfX5r3iwsamczwuNPKWgc+d8mCw9RI7dOn9y19rffP9T K8+unu741+1Q++N3H3m3iT5J3bZpjsp99Xv+R0/Ev6krWhm959bbEq6zVw+0eMQn5JxIuBDF osRSnJFoqMVcVJwIAM46dbXXAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEKsWRmVeSWpSXmKPExsVy+t9jQd0+NZ1Ag/d39C16z51ksrjy9T2b RefMa4wWlxdeYrU40feB1eLTx4UsDmweHz7GeWz/9oDV4373cSaP/r8GHn1bVjF6fN4kF8AW 1cBok5GamJJapJCal5yfkpmXbqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQN0hZJC WWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsI4x41gTf0EPe8XnrfPYGxgb2boY OTkkBEwk7j/7AmWLSVy4tx7I5uIQEpjOKPFv401WCOcXo8TLvQ9YQarYBNQkvnw5zN7FyMEh IqAiceWFCUiYWeASo8TnZdIgtrCAtcTT/89ZQGwWAVWJOwtPMYGU8wrYSvTNBCvnFRCU+DH5 HgtEq5bE+p3HmSBseYnNa94yg5RLCKhLPPqrCxIWEdCT6HncCFUuIrHvxTvGCYwCs5BMmoVk 0iwkk2YhaVnAyLKKUTS1ILmgOCk911CvODG3uDQvXS85P3cTIzjGn0ntYFzZYHGIUYCDUYmH N4FFJ1CINbGsuDL3EKMEB7OSCC9nhnagEG9KYmVValF+fFFpTmrxIcZkoD8nMkuJJucD009e SbyhsYmZkaWRmYWRibk5acJK4ryMp54ECAmkJ5akZqemFqQWwWxh4uCUamAMv/3X3Iml8Gzg 7KLLrer+Hwum57RGPv9zhM/FPNgyVenUYutPmSpHa8S35YQcOv38pejsgC9FrmIafjMSrU9b bdRIffanb67+j7Mfrm+xrmS8IGdmO0/0rfHLFfkMlYcV9I5cT43/bffNjOPDr87peUpy61dk 389XiGRbzNTdxbis84mR5lQlluKMREMt5qLiRABIIyztNQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: linux-fbdev@vger.kernel.org, 'Steffen Trumtrar' , dri-devel@lists.freedesktop.org, 'Florian Tobias Schandinat' X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org VESA_DMT_VSYNC_HIGH should be used instead of VESA_DMT_HSYNC_HIGH, because FB_SYNC_VERT_HIGH_ACT is related to vsync, not to hsync. Signed-off-by: Jingoo Han Cc: Steffen Trumtrar --- drivers/video/fbmon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c index 94ad0f7..7f67099 100644 --- a/drivers/video/fbmon.c +++ b/drivers/video/fbmon.c @@ -1400,7 +1400,7 @@ int fb_videomode_from_videomode(const struct videomode *vm, fbmode->vmode = 0; if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH) fbmode->sync |= FB_SYNC_HOR_HIGH_ACT; - if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH) + if (vm->dmt_flags & VESA_DMT_VSYNC_HIGH) fbmode->sync |= FB_SYNC_VERT_HIGH_ACT; if (vm->data_flags & DISPLAY_FLAGS_INTERLACED) fbmode->vmode |= FB_VMODE_INTERLACED;