]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2: PRCM: fix some SHIFT macros that were actually bitmasks
authorPaul Walmsley <paul@pwsan.com>
Mon, 6 Dec 2010 20:52:40 +0000 (20:52 +0000)
committerTony Lindgren <tony@atomide.com>
Sat, 11 Dec 2010 02:04:43 +0000 (18:04 -0800)
commita47167abbe142e5a4e99444fc7d14fad915aa849
treeb6a902cf0506f7323814f919f9f6432ffbdb33ad
parentc47bc27b7446c7998487ff3ca976bb793522712a
OMAP2: PRCM: fix some SHIFT macros that were actually bitmasks

After Charu's GPIO hwmod patches, GPIO initialization on N800 emits
the following messages for all GPIO banks:

omap_hwmod: gpio1: cannot be enabled (3)

This is due to OMAP24XX_ST_GPIOS_SHIFT being defined as a bitmask.
Fix this and also fix two other macros that had the same problem.

Thanks to Tony Lindgren <tony@atomide.com> for originally reporting
this bug.

Signed-off-by: Paul Walmsley <paul@pwsan.com
Cc: Charulatha Varadarajan <charu@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/prcm-common.h