All of lore.kernel.org
 help / color / mirror / Atom feed
From: e.voevodin@samsung.com (Evgeny Voevodin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: exynos4: Fix write to nonexistent TCMPB4 PWM register on samsung exynos4 platform
Date: Thu, 28 Jul 2011 10:20:59 +0400	[thread overview]
Message-ID: <4E30FFCB.50201@samsung.com> (raw)
In-Reply-To: <4E3004E3.80003@ru.mvista.com>

From: Evgeny Voevodin <e.voevodin@samsung.com>

There is no TCMPB register for Pulse Width Modulation timer4 on samsung 
exynos4 board. Remove unsupported register write.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
---
  arch/arm/mach-exynos4/time.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-exynos4/time.c b/arch/arm/mach-exynos4/time.c
index 86b9fa0..48389bf 100644
--- a/arch/arm/mach-exynos4/time.c
+++ b/arch/arm/mach-exynos4/time.c
@@ -77,7 +77,6 @@ static void exynos4_pwm_init(unsigned int pwm_id, 
unsigned long tcnt)
  		tcon |= S3C2410_TCON_T4MANUALUPD;

  		__raw_writel(tcnt, S3C2410_TCNTB(4));
-		__raw_writel(tcnt, S3C2410_TCMPB(4));
  		__raw_writel(tcon, S3C2410_TCON);

  		break;
-- 
1.7.4.1

  reply	other threads:[~2011-07-28  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  3:27 [PATCH] arm: exynos4: Fix write to nonexistent TCMPB4 PWM register on samsung exynos4 platform Kyungmin Park
2011-07-27 12:30 ` Sergei Shtylyov
2011-07-28  6:20   ` Evgeny Voevodin [this message]
2011-08-12  9:36   ` Kukjin Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E30FFCB.50201@samsung.com \
    --to=e.voevodin@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.