]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: fix at91rm9200 soc subtype handling
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 28 Dec 2011 11:10:04 +0000 (13:10 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 20 Jan 2012 13:58:13 +0000 (14:58 +0100)
commite076b1d26968feef2507fecf666ac0a39eace274
tree6207094dc67e1d7a6ce5df2ffdbd773ba36d8089
parent57972bb395c3c00f6301f502e045ce7bbcac7d49
ARM: at91: fix at91rm9200 soc subtype handling

Currently setting it to PQFP changes subtype to BGA as subtypes are
swapped in at91rm9200_set_type().

Wrong subtype causes GPIO bank D not to work at all.

After this fix, subtype is still set as unknown. But board code should
fill it in with proper value. Another information is thus printed.

Bug discovery and first implementation made by Veli-Pekka Peltola.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: stable <stable@vger.kernel.org>
arch/arm/mach-at91/setup.c