cortex a8: add missing error handling