ASoC: remove duplicated code on pxa-ssp.c
authorDaniel Ribeiro <drwyrm@gmail.com>
Wed, 10 Jun 2009 18:23:24 +0000 (15:23 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 11 Jun 2009 20:03:19 +0000 (21:03 +0100)
commitfa44c077eb2a17aa6913feceb493d13f45f3fa25
tree04f45f945e04396b6c374a244b3f4179ad2d9f5e
parent46f5822f7841697d4aedaf4672661d7a765172cd
ASoC: remove duplicated code on pxa-ssp.c

* We don't need to write the registers twice, remove the first write.
* DAIFMT_INV switch is duplicated inside DAIFMT_FORMAT switch, move it
  out.

(This patch is for Mark's for-2.6.32 branch, I have not checked if the
code is duplicated on current 2.6.30)

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c