[RFC PATCH 5/8] coresight: Handle errors in finding input/output ports