[PATCH 3.18 037/120] drivers/tty: add error handling for pcmcia_loop_config