Gareth Barry has been given a one-match suspension after pleading guilty to a Football Association misconduct charge.