]> 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)
commit4b9cff69cda7b1758947d02b1c845c1927dc4c8a
tree6207094dc67e1d7a6ce5df2ffdbd773ba36d8089
parent1e5ed5b4d5a9924b9ec96032051e81bc6340728e
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