openocd/src/jtag/drivers
Steve Marple 903f2e92a1 drivers/am335xgpio: Release resources on error and when quitting
The /dev/mem file descriptor can be closed without invalidating the
mappings so close as soon as possible.

munmap() all memory, either on error or from quit.

Change-Id: I9466edd2f43791e64f2dce719957c67728f3ec06
Signed-off-by: Steve Marple <stevemarple@googlemail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7047
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2022-08-15 13:24:46 +00:00
..
OpenULINK openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
libjaylink@9aa7a5957c libjaylink: Update to 0.2.0 release 2020-07-26 20:11:11 +01:00
usb_blaster openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
versaloon openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
Makefile.rlink openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
am335xgpio.c drivers/am335xgpio: Release resources on error and when quitting 2022-08-15 13:24:46 +00:00
amt_jtagaccel.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
arm-jtag-ew.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
at91rm9200.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
bcm2835gpio.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
bitbang.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
bitbang.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
bitq.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
bitq.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
buspirate.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
cmsis_dap.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
cmsis_dap.h openocd: src: add GPL license tag on files that miss it 2022-07-23 13:13:39 +00:00
cmsis_dap_usb_bulk.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
cmsis_dap_usb_hid.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
driver.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
dummy.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
ep93xx.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
esp_usb_jtag.c jtag: add esp_usb_jtag driver 2022-07-02 08:24:01 +00:00
ft232r.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
ftdi.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
gw16012.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
imx_gpio.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
jlink.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
jtag_dpi.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
jtag_vpi.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
kitprog.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
libftdi_helper.h openocd: add support for libftdi 1.5 2020-11-04 17:38:45 +00:00
libusb_helper.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
libusb_helper.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
linuxgpiod.c drivers/linuxgpiod: simplify gpio release 2022-06-24 21:50:19 +00:00
minidriver_imp.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
mpsse.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
mpsse.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
nulink_usb.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
opendous.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
openjtag.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
osbdm.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
parport.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
presto.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
remote_bitbang.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rlink.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rlink.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rlink_call.m4 openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
rlink_dtc_cmd.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rlink_ep1_cmd.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rlink_init.m4 openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
rlink_speed_table.c coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
rlink_st7.h openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
rshim.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
stlink_usb.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
sysfsgpio.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
ti_icdi_usb.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
ulink.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
usbprog.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
vdebug.c drivers/vdebug: add support for DAP level interface 2022-07-30 08:48:21 +00:00
vsllink.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
xds110.c openocd: src/jtag: replace the GPL-2.0-or-later license tag 2022-07-23 13:55:06 +00:00
xlnx-pcie-xvc.c openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00