ARM: OMAP2+: hwmod: ensure that SYSCONFIG bits are reprogrammed after a reset
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Feb 2012 22:23:56 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 28 Feb 2012 05:32:18 +0000 (22:32 -0700)
Move the code that reprograms the OCP_SYSCONFIG bits into the _reset()
function to ensure that it is called after every reset.  The code was
previously in the _setup() function.  So, before this patch, if
_reset() was called from another function, the SYSCONFIG register
won't be reprogrammed.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>

No differences found