MIPS: PowerTV: Move register setup to before reading registers.
authorDavid VomLehn <dvomlehn@cisco.com>
Fri, 18 Jun 2010 23:51:49 +0000 (16:51 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Jul 2010 18:08:16 +0000 (19:08 +0100)
commit28d7d213a1ba4f1891eebb680f8a16a731d7a72a
tree6f6f4f93967baae2c0ebad72680acea2b4a2e096
parent93871603a74563b3683d09ef13da954670829c45
MIPS: PowerTV: Move register setup to before reading registers.

The 4600 family code reads registers to differentiate between two ASIC
variants, but this was being done prior to the register setup. This moves
register setup before the reading code.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1392/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/powertv/asic/asic_devices.c