After using the libmetal APIs to talk to the devices, close the device and libmetal environment as follows:
/* Close the opened device */
metal_device_close(device);
/* Close the libmetal environment */
metal_finish();
After using the libmetal APIs to talk to the devices, close the device and libmetal environment as follows:
/* Close the opened device */
metal_device_close(device);
/* Close the libmetal environment */
metal_finish();