From patchwork Mon Sep 3 08:50:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1399061 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 79D4FDFFD0 for ; Mon, 3 Sep 2012 08:50:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755084Ab2ICIu0 (ORCPT ); Mon, 3 Sep 2012 04:50:26 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:54274 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752208Ab2ICIuZ (ORCPT ); Mon, 3 Sep 2012 04:50:25 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9R00G29N7CXWT0@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 03 Sep 2012 17:50:24 +0900 (KST) X-AuditID: cbfee61b-b7f056d000002c30-86-50446f50d509 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B7.8A.11312.05F64405; Mon, 03 Sep 2012 17:50:24 +0900 (KST) Received: from DOJG1HAN02 ([12.23.119.56]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9R00C0UN80SSQ0@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 03 Sep 2012 17:50:24 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Jingoo Han' Subject: [PATCH] video: exynos_dp: replace link_status with link_align to check channel equalization Date: Mon, 03 Sep 2012 17:50:24 +0900 Message-id: <000001cd89b1$2852e3b0$78f8ab10$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac2JsSgThwm0nfTZQMy5VB2L/6pVTA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsVy+t9jQd2AfJcAg1n90hYn+j6wOjB6fN4k F8AYxWWTkpqTWZZapG+XwJVxue8nW8EsjooVbz+xNzD+Zeti5OSQEDCRmLjlJzuELSZx4d56 oDgXh5DAdEaJTQfvMkI4s5gkvl68zgxSxSagJvHly2GgDg4OEQEriU1bNUHCzALOEhNunAAb KiyQJtG66wMLiM0ioCoxt/kLE4jNK2ArcWBeAzOELSjxY/I9FoheLYn1O48zQdjyEpvXvGUG GS8hoC7x6K8uSFhEQE9i2vMZjBAlIhL7XrxjnMAoMAvJpFlIJs1CMmkWkpYFjCyrGEVTC5IL ipPSc430ihNzi0vz0vWS83M3MYLD8pn0DsZVDRaHGAU4GJV4eFd+cA4QYk0sK67MPcQowcGs JMJ79xJQiDclsbIqtSg/vqg0J7X4EKM0B4uSOK/TObsAIYH0xJLU7NTUgtQimCwTB6dUA2Ne /IXTb27yrVSZsOz6N+6n972Wr80Sj+nldLyiEnN0vcPU1CNrxQ1eJcw1Cjif8aekJFRgdvTe Q9LFq9jbfgkEh0cobDrP8mLC98X3rsVfOeUuVSpeuaLky7Pw6FNWFyuyv+31TXS8FfFJ4E7i o6P+8aGPF4d9423cnnPFL45na/O3lQ1Ja1iVWIozEg21mIuKEwFEVhGGRwIAAA== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org To check channel equalization, the value of LANE_ALIGN_STATUS_UPDATED is necessary in exynos_dp_channel_eq_ok(). Also, link_align includes this value. However, link_status does not include this value, so it makes the problem that channel equalization is failed during link training. Signed-off-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index f57c915..cdc1398 100644 --- a/drivers/video/exynos/exynos_dp_core.c +++ b/drivers/video/exynos/exynos_dp_core.c @@ -587,7 +587,7 @@ static int exynos_dp_process_equalizer_training(struct exynos_dp_device *dp) dp->link_train.training_lane[lane] = training_lane; } - if (exynos_dp_channel_eq_ok(link_status, lane_count) == 0) { + if (exynos_dp_channel_eq_ok(link_align, lane_count) == 0) { /* traing pattern Set to Normal */ exynos_dp_training_pattern_dis(dp);