[PATCH 4.14 054/137] drivers/tty: add error handling for pcmcia_loop_config