ST. LOUIS -- Lance Lynn needed only 16 days to get even with the San Diego Padres.
The St. Louis right-hander pitched six strong innings to help the Cardinals beat the Padres 4-2 on Friday night for their third straight win.
Matt Adams, Kolten Wong and Oscar Taveras hit RBI singles for St. Louis. San Diego has lost two in a row after a five-game winning streak.
Lynn (13-8) gave up one run and six hits, striking out six and walking one. The Padres handed him a 3-1 defeat on July 29.
Lynn actually felt as though he pitched better in San Diego last month when he allowed one earned run and four hits over six innings.
"Tonight was a grind from the get-go," Lynn said. "It could have been better."
St. Louis manager Mike Matheny disagreed, saying Lynn was at the top of his game.
"Lance was great," he said. "Another good night of using his fastball, mixing in the two-seam and four-seam. He had a real nice feel for all of his pitches."
Lynn has allowed two runs or fewer in 11 of his last 13 starts.
"He just goes out there and battles every day and gives us solid starts," Wong said. "You have a pitcher like that, it definitely increases the morale of the team and makes us want to continue to play well."
The Padres took a grind-it-out approach at the plate, fouling off 21 pitches in Lynn's 102-pitch stint.
Pat Neshek posted his fourth save. Regular closer Trevor Rosenthal was given the night off after two successive appearances.
Pinch-hitter Yasmani Grandal homered with two outs in the ninth for the Padres. After Chris Nelson doubled, Neshek struck out Will Venable.
Tyson Ross (11-11) gave up three runs and five hits over six innings. He walked four and hit two batters.
Ross walked the first three batters in the first, and Adams hit an RBI single. Jhonny Peralta followed with a run-scoring groundout.
"I didn't have fastball command the first inning," Ross said. "It was that simple. I put myself in a big hole, and they capitalized on it."
Wong pushed the lead to 3-0 with an RBI single in the fourth. It was his team-high 27th RBI with two outs.
San Diego got within 3-1 on a double by Venable in the fifth. Lynn retired Tommy Medica and Seth Smith with runners on second and third to preserve the lead.
The Padres have scored in the ninth inning in the first two games of the series.
"These guys play hard," San Diego manager Bud Black said of the Cardinals. "They play all 54 outs and beyond at times. That's just the way we play. It's what we do."
Taveras had a pinch-hit single in the eighth.
The Cardinals are 22-7 at home against San Diego since 2006.
Padres: 1B Yonder Alonso is on the 15-day disabled list after straining his right forearm in Tuesday's 4-1 win over the Rockies. It is his second stint on the DL this season. He missed 30 games with right wrist tendinitis from June 19 to July 26.
Cardinals: C Yadier Molina was able to do some light throwing on Thursday, 35 days after undergoing surgery to repair a torn ligament in his right thumb. Matheny indicated that Molina is progressing at a faster rate than first expected. He was projected to miss eight to 12 weeks, but appears ahead of schedule.
"I can't wait to grab a bat and see how the hand reacts," Molina said.
St. Louis RHP Shelby Miller (8-9, 4.17) faces RHP Jesse Hahn (7-3, 2.52) in the third game of the four-game series on Saturday. Miller has given up a team-high 17 home runs and walked a team-high 58 batters in 133 2-3 innings.