Manny Machado and Miguel Andujar each hit solo homers while Griffin Canning struck out seven and gave up just one run through five innings of work to lead the San Diego Padres to a 4-3 win over the Chicago White Sox.