]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit3e90772f76010c315474bde59eaca7cc4c94d645
tree6207094dc67e1d7a6ce5df2ffdbd773ba36d8089
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
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