gpio: mpc8xxx: don't allow input-only pins to be output for MPC5121
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 13 Dec 2011 09:12:48 +0000 (10:12 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Dec 2011 18:14:35 +0000 (11:14 -0700)
Add a 5121-custom reject if an input-only pin is requested to be output
(see 18.3.1.1 in the refman). Also, rewrite mach-specific quirk setup to
consume less lines which scales better.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
[grant.likely: Fixed build error]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found