From patchwork Fri Apr 12 05:56:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 2434131 Return-Path: X-Original-To: patchwork-linux-pm@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 B622FDF2A1 for ; Fri, 12 Apr 2013 05:56:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691Ab3DLF41 (ORCPT ); Fri, 12 Apr 2013 01:56:27 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:42292 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078Ab3DLF40 (ORCPT ); Fri, 12 Apr 2013 01:56:26 -0400 Received: by mail-pd0-f170.google.com with SMTP id 10so1231339pdi.29 for ; Thu, 11 Apr 2013 22:56:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:x-mailer:mime-version :content-transfer-encoding:x-gm-message-state; bh=QSH6/m3768gc7GKjVneGEI+vujcw2SaErA4DYDvgM/I=; b=YidqyeNQU8Z17sGjMFGyjW2/AhK4IE4l5FrMy4A2e3F6zYxskl5CZmZ7BoihvBFXV6 DHDGP3d2CCHFOBOTr0mh4LUfJsYp3shfl7pnkhBIP0wxN9O28Gr+G5EDByU0Br8UqCI7 TrstawFESq72EN8OnxMQCtyEFOu0CsTO2u7rX41M7TCC1mzMhpuz0833cj9mzRARMrKj YSbNLjHnsu1gff1s352OggLFjRI3uavGQxrdQReFt+9evyqACR8iOrmjpJNXaAFjO/Cp rGJZGcqF2W2m/YrwsolaZ+drEXKnmKhtwJnk2IXY2aPzdOUXVwzkY8InLfjlW5SIx6f5 cSwg== X-Received: by 10.68.197.67 with SMTP id is3mr607617pbc.104.1365746186271; Thu, 11 Apr 2013 22:56:26 -0700 (PDT) Received: from [192.168.0.102] (114-40-8-210.dynamic.hinet.net. [114.40.8.210]) by mx.google.com with ESMTPS id be10sm7121970pbd.30.2013.04.11.22.56.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Apr 2013 22:56:25 -0700 (PDT) Message-ID: <1365746181.4025.3.camel@phoenix> Subject: [RESEND][PATCH 3/3] PM / devfreq: exynos4_bus: Fix table entry size for exynos4x12_clkdiv_dmc1 From: Axel Lin To: "Rafael J. Wysocki" Cc: MyungJoo Ham , Kyungmin Park , Kukjin Kim , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 12 Apr 2013 13:56:21 +0800 In-Reply-To: <1365746058.4025.1.camel@phoenix> References: <1365746058.4025.1.camel@phoenix> X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQnu0y0RMHaYguT/VflValDpj4cG+2t0QoOOx1euT9AtQp9wX0pBzSD047gcb8pPFqWjivdX Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org exynos4x12_clkdiv_dmc1 contains { G2DACP, DIVC2C, DIVC2C_ACLK }, thus set the size to 3 rather than 6. Signed-off-by: Axel Lin --- drivers/devfreq/exynos4_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/exynos4_bus.c b/drivers/devfreq/exynos4_bus.c index 45d00d1..1deee09 100644 --- a/drivers/devfreq/exynos4_bus.c +++ b/drivers/devfreq/exynos4_bus.c @@ -235,7 +235,7 @@ static const unsigned int exynos4x12_clkdiv_dmc0[][6] = { /* DMC L4: 100MHz */ {7, 1, 1, 7, 1, 1}, }; -static const unsigned int exynos4x12_clkdiv_dmc1[][6] = { +static const unsigned int exynos4x12_clkdiv_dmc1[][3] = { /* * Clock divider value for following * { G2DACP, DIVC2C, DIVC2C_ACLK }