linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] New year's pxa fixes
@ 2010-12-31 23:59 Marek Vasut
  2010-12-31 23:59 ` [PATCH 1/2] pxa: Fix warning in zeus.c Marek Vasut
  2010-12-31 23:59 ` [PATCH 2/2] pxa: Remove unused variable in clock-pxa3xx.c Marek Vasut
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2010-12-31 23:59 UTC (permalink / raw)
  To: linux-arm-kernel

First of all, happy new year !

Second, not even an hour after midnight (over here), here are some minor
fixes squishing some warnings in pxa tree.

Marek Vasut (2):
  pxa: Fix warning in zeus.c
  pxa: Remove unused variable in clock-pxa3xx.c

 arch/arm/mach-pxa/clock-pxa3xx.c |    1 -
 arch/arm/mach-pxa/zeus.c         |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] pxa: Fix warning in zeus.c
  2010-12-31 23:59 [PATCH 0/2] New year's pxa fixes Marek Vasut
@ 2010-12-31 23:59 ` Marek Vasut
  2010-12-31 23:59 ` [PATCH 2/2] pxa: Remove unused variable in clock-pxa3xx.c Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2010-12-31 23:59 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 arch/arm/mach-pxa/zeus.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c
index c87f2b3..29830a3 100644
--- a/arch/arm/mach-pxa/zeus.c
+++ b/arch/arm/mach-pxa/zeus.c
@@ -830,8 +830,8 @@ static void __init zeus_init(void)
 	pr_info("Zeus CPLD V%dI%d\n", (system_rev & 0xf0) >> 4, (system_rev & 0x0f));
 
 	/* Fix timings for dm9000s (CS1/CS2)*/
-	msc0 = __raw_readl(MSC0) & 0x0000ffff | (dm9000_msc << 16);
-	msc1 = __raw_readl(MSC1) & 0xffff0000 | dm9000_msc;
+	msc0 = (__raw_readl(MSC0) & 0x0000ffff) | (dm9000_msc << 16);
+	msc1 = (__raw_readl(MSC1) & 0xffff0000) | dm9000_msc;
 	__raw_writel(msc0, MSC0);
 	__raw_writel(msc1, MSC1);
 
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] pxa: Remove unused variable in clock-pxa3xx.c
  2010-12-31 23:59 [PATCH 0/2] New year's pxa fixes Marek Vasut
  2010-12-31 23:59 ` [PATCH 1/2] pxa: Fix warning in zeus.c Marek Vasut
@ 2010-12-31 23:59 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2010-12-31 23:59 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 arch/arm/mach-pxa/clock-pxa3xx.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-pxa/clock-pxa3xx.c b/arch/arm/mach-pxa/clock-pxa3xx.c
index 1b08a34..3f864cd 100644
--- a/arch/arm/mach-pxa/clock-pxa3xx.c
+++ b/arch/arm/mach-pxa/clock-pxa3xx.c
@@ -115,7 +115,6 @@ static unsigned long clk_pxa3xx_smemc_getrate(struct clk *clk)
 {
 	unsigned long acsr = ACSR;
 	unsigned long memclkcfg = __raw_readl(MEMCLKCFG);
-	unsigned int smcfs = (acsr >> 23) & 0x7;
 
 	return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] /
 			df_clkdiv[(memclkcfg >> 16) & 0x3];
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-31 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-31 23:59 [PATCH 0/2] New year's pxa fixes Marek Vasut
2010-12-31 23:59 ` [PATCH 1/2] pxa: Fix warning in zeus.c Marek Vasut
2010-12-31 23:59 ` [PATCH 2/2] pxa: Remove unused variable in clock-pxa3xx.c Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).