[PATCH 4.4 56/70] coresight: Handle errors in finding input/output ports