
30 Oct
2013
30 Oct
'13
6:19 p.m.
Am 30.10.2013 11:39, schrieb Andreas Bießmann:
Hi Bo,
+Jens, he did the rewrite of the at91 gpio driver.
I think this is a job for gpio_is_valid() then. How is this case handled in kernel?
Here are a few things to discuss. First of all I'd like to get some insights why the at91 gpio API was changed back in 2010. It was a plain number before and was changed to PORT + PIN as two separate parameters. Jens, could you please shed some light on this?
Sorry, but I don't remember me why we do this. I think, it was a compromise between number of changes and code size.
Regards
Jens