Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
To: linux-omap@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Russell King <linux@arm.linux.org.uk>,
	Tony Lindgren <tony@atomide.com>,
	Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Subject: [PATCH] ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources
Date: Wed, 19 Dec 2012 12:06:27 +0200	[thread overview]
Message-ID: <1355911588-21977-2-git-send-email-ivan.khoronzhuk@ti.com> (raw)
In-Reply-To: <1355911588-21977-1-git-send-email-ivan.khoronzhuk@ti.com>

To read reset sources registers we have to use PRM_DEVICE_INST

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
---
 arch/arm/mach-omap2/prm44xx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c
index 7498bc7..0b61b8d 100644
--- a/arch/arm/mach-omap2/prm44xx.c
+++ b/arch/arm/mach-omap2/prm44xx.c
@@ -333,7 +333,7 @@ static u32 omap44xx_prm_read_reset_sources(void)
 	u32 r = 0;
 	u32 v;
 
-	v = omap4_prm_read_inst_reg(OMAP4430_PRM_OCP_SOCKET_INST,
+	v = omap4_prm_read_inst_reg(OMAP4430_PRM_DEVICE_INST,
 				    OMAP4_RM_RSTST);
 
 	p = omap44xx_prm_reset_src_map;
-- 
1.7.9.5

  reply	other threads:[~2012-12-19 10:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 10:06 [PATCH] ARM: OMAP4: PRM: Correct reset source map Ivan Khoronzhuk
2012-12-19 10:06 ` Ivan Khoronzhuk [this message]
2012-12-19 16:57   ` [PATCH] ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources Paul Walmsley
2012-12-19 10:06 ` [PATCH] ARM: OMAP4: PRM: fix RSTTIME and RSTST offsets Ivan Khoronzhuk
2012-12-19 16:57   ` Paul Walmsley
2012-12-19 16:57 ` [PATCH] ARM: OMAP4: PRM: Correct reset source map Paul Walmsley
  -- strict thread matches above, loose matches on Subject: below --
2012-12-17 19:53 [PATCH] ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources Ivan Khoronzhuk

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=1355911588-21977-2-git-send-email-ivan.khoronzhuk@ti.com \
    --to=ivan.khoronzhuk@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=tony@atomide.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox