Cardiff City klar for Premier League