From patchwork Wed Aug 8 03:54:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 1292381 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 96C0EDF223 for ; Wed, 8 Aug 2012 03:54:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756474Ab2HHDyl (ORCPT ); Tue, 7 Aug 2012 23:54:41 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:48841 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756260Ab2HHDyk (ORCPT ); Tue, 7 Aug 2012 23:54:40 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr13so760482pbb.19 for ; Tue, 07 Aug 2012 20:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=kt8rKRDCC4uzt27m7i9bHJZRe1Hkvf67S45CJC3EDPI=; b=MsHKbMZekyhX4k1sO6fZevkYFLslFGVMOXLgvIqvhOTXYcF2JZXra2EeFURkP1s5Kr OZukTUFnXUBgLTFx64aRdicObqpnlcLzDOZgzEfdy9hAtfzT1UZUqmItwb44ixfob3nj cDfM8pC57XTPw3SzPwWGnuOJbJdiGxB6R1XGg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=kt8rKRDCC4uzt27m7i9bHJZRe1Hkvf67S45CJC3EDPI=; b=VfxZ2gVxIqDRp4Uaq1dDvbYJixOZDfpSx4dRsxrHlO39s86cOxcI7QX9cJ9OeUukbp 3SXAfE5lR2c32myjRX7HicjAnLzwvWHDmdM6u9Lqgj/DaEyZrekVUiU9Gdb6irf6qTgW xAIyvmNxlXFewI051ROSKb+bEVwf1fId+58JXdi7jOkL+7LhoU2I25LcdX0xm670tfJE UD9yW1xFbLWk/1eAeTjNw5XExRopgYCwA4SqjWArEXGwZmOUd+jyOy8GRByUePmDiFo3 Fx10pi1gQDxqNifAR8jSt1Gp/KdZKIzqnCflDwFzvcCMNgQCWrhHFlyLWkUzEpTwl2xN Lf6g== Received: by 10.68.231.170 with SMTP id th10mr32868545pbc.104.1344398080271; Tue, 07 Aug 2012 20:54:40 -0700 (PDT) Received: from anush.mtv.corp.google.com (anush.mtv.corp.google.com [172.22.73.28]) by mx.google.com with ESMTPS id hx9sm12461756pbc.68.2012.08.07.20.54.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 20:54:39 -0700 (PDT) From: Sean Paul To: jg1.han@samsung.com, linux-fbdev@vger.kernel.org Cc: Sean Paul Subject: [PATCH 06/10] video: exynos_dp: Fix get_pll_lock_status return value Date: Tue, 7 Aug 2012 20:54:20 -0700 Message-Id: <1344398064-13563-7-git-send-email-seanpaul@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1344398064-13563-1-git-send-email-seanpaul@chromium.org> References: <1344398064-13563-1-git-send-email-seanpaul@chromium.org> X-Gm-Message-State: ALoCoQnQxmTLJlKYONZa52GJMQo1Nss6Guw+VVGZxtxgQIrpum2rcSAS1LIhO+6liKNRN41gaVBO Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fix the return value of exynos_dp_get_pll_lock_status to reflect what it actually returns. Signed-off-by: Sean Paul Reviewed-by: Olof Johansson Acked-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.h | 2 +- drivers/video/exynos/exynos_dp_reg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.h b/drivers/video/exynos/exynos_dp_core.h index 8526e54..6431c65 100644 --- a/drivers/video/exynos/exynos_dp_core.h +++ b/drivers/video/exynos/exynos_dp_core.h @@ -43,7 +43,7 @@ void exynos_dp_init_interrupt(struct exynos_dp_device *dp); void exynos_dp_reset(struct exynos_dp_device *dp); void exynos_dp_swreset(struct exynos_dp_device *dp); void exynos_dp_config_interrupt(struct exynos_dp_device *dp); -u32 exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp); +enum pll_status exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp); void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable); void exynos_dp_set_analog_power_down(struct exynos_dp_device *dp, enum analog_power_block block, diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c index a121bed..d7b1494 100644 --- a/drivers/video/exynos/exynos_dp_reg.c +++ b/drivers/video/exynos/exynos_dp_reg.c @@ -179,7 +179,7 @@ void exynos_dp_config_interrupt(struct exynos_dp_device *dp) writel(reg, dp->reg_base + EXYNOS_DP_INT_STA_MASK); } -u32 exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp) +enum pll_status exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp) { u32 reg;