K 10 svn:author V 4 loos K 8 svn:date V 27 2014-04-03T17:55:08.084334Z K 7 svn:log V 342 Move the GPIO bank initialization to a new function to make easier to detect errors. Reset the GPIO module during the initialization. This is guaranteed to be the same as a hardware reset. Tested on AM335x (BBB) and checked against the omap3 and omap4 TRM. Do a better job freeing resources when there are errors and on ti_gpio_detach(). END