Samsung trips on quality control in rush to pip Apple