Joachim Eastwood
80af9e6d7a
pcmcia at91_cf: fix raw gpio number usage
...
This patches fixes two things:
* Use gpio_valid function to check gpio before usage
This must be done after 63b4c29678500 which uses -EINVAL for unused pin's
* Use gpio_to_irq to convert gpio's to irq
The driver assumed a 1:1 mapping between gpio and irq numbers. This is no
longer true after d0fbda9add3281.
Tested on custom RM9200 board with 8gb CF card.
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2012-03-03 14:43:37 +01:00
..
2012-03-03 14:43:37 +01:00
2012-03-03 14:43:37 +01:00
2012-03-03 14:43:37 +01:00
2010-05-10 10:23:12 +02:00
2010-09-29 17:20:23 +02:00
2010-09-29 17:20:23 +02:00
2010-10-14 11:47:16 +02:00
2012-03-03 14:43:37 +01:00
2012-02-08 19:03:51 -08:00
2012-03-03 14:43:37 +01:00
2012-03-03 14:43:37 +01:00
2010-09-29 17:20:23 +02:00
2010-03-15 14:50:15 +01:00
2011-12-07 22:02:06 +00:00
2012-03-03 14:43:37 +01:00
2010-09-29 17:20:23 +02:00
2010-11-01 15:38:34 -04:00
2010-09-29 17:20:23 +02:00
2010-11-01 15:38:34 -04:00
2011-12-07 22:02:05 +00:00
2010-10-15 14:31:47 +02:00
2010-05-10 10:23:12 +02:00
2010-09-29 17:20:24 +02:00
2011-04-26 23:31:11 -07:00
2012-03-03 14:43:37 +01:00
2010-11-10 14:29:09 +01:00
2011-10-08 21:03:07 +08:00
2012-03-03 14:43:37 +01:00
2011-02-19 12:22:35 +01:00
2011-11-05 22:26:46 +00:00
2011-11-15 19:09:56 +08:00
2011-11-15 19:09:56 +08:00
2011-07-29 17:55:13 +02:00
2011-12-28 10:14:04 +00:00
2011-03-31 11:26:23 -03:00
2011-07-29 17:55:13 +02:00
2011-12-28 10:14:04 +00:00
2011-12-28 10:14:04 +00:00
2011-07-29 17:55:13 +02:00
2011-07-11 14:43:32 +08:00
2011-12-28 10:14:04 +00:00
2011-12-28 10:14:04 +00:00
2012-03-03 14:43:37 +01:00
2011-12-28 10:14:04 +00:00
2011-06-10 14:55:36 +02:00
2010-09-29 17:20:23 +02:00
2011-06-10 14:55:36 +02:00
2010-06-16 18:05:05 +02:00
2010-11-10 14:30:01 +01:00
2010-11-10 14:30:01 +01:00
2011-05-06 07:46:11 +02:00
2010-12-21 14:53:45 +00:00
2010-11-10 14:30:01 +01:00
2011-03-29 14:48:19 +02:00
2010-11-10 14:30:01 +01:00
2011-10-17 09:12:42 +01:00
2012-01-24 21:33:26 +00:00
2012-03-03 14:43:36 +01:00
2010-12-16 14:31:19 +08:00
2010-09-29 17:20:23 +02:00
2010-09-29 17:20:23 +02:00
2011-03-31 11:26:23 -03:00
2010-03-24 11:00:11 +01:00
2012-03-03 14:43:37 +01:00
2012-03-03 14:43:37 +01:00
2012-03-03 14:43:37 +01:00