FA Cup holders Wigan claimed another Premier League scalp by beating Cardiff 2-1 to reach the quarter-finals.