Cardinals starter Adam Wainwright endured a rough outing as he served up two homers and suffered his fourth loss of the season Tuesday night against the Cubs.

Wainwright (10-4) surrendered home runs to Ryan Sweeney and Cody Ransom in the opening frame before settling down. He permitted four runs on seven hits while striking out three in seven innings in a 4-2 loss.

Wainwright has allowed six earned runs combined over his last three starts (21 innings). He is scheduled to make his next start Sunday at home against the Rangers. He is 3-2 with a 1.35 ERA in five starts at home.