remote_bitbang: De-duplicate init code and clean up on error 80/1380/3
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 5 May 2013 22:09:03 +0000 (00:09 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 10 May 2013 14:46:55 +0000 (14:46 +0000)
commit70a2ffac8e2db994e691065259422fa6886ee67f
tree287a040338509268ff87893050afb1b3b696e9df
parent00ba179dbc1861bf51a67565abd4fa687831573f
remote_bitbang: De-duplicate init code and clean up on error

Change-Id: I8be413a9e1683f96f835232f9ff25d9bd42099de
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1380
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/remote_bitbang.c