summaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-08-06 21:03:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-07 22:53:22 -0700
commitcbc056602c7c63620c86904c431ff6b61e029dcc (patch)
treeaea5d69fa11b2925336ac61c83a122611bb57808 /lib/dump_stack.c
parentc2e2a313ff8fdc25cedef5e63da712a6a0d35dfe (diff)
downloadblackbird-op-linux-cbc056602c7c63620c86904c431ff6b61e029dcc.tar.gz
blackbird-op-linux-cbc056602c7c63620c86904c431ff6b61e029dcc.zip
gianfar: fix fiper alignment after resetting the time
After resetting the time, the PPS signals on the FIPER output channels are incorrectly offset from the clock time, as can be readily verified by a looping back the FIPER to the external time stamp input. Despite its name, setting the "Fiper Realignment Disable" bit seems to fix the problem, at least on the P2020. Also, following the example code from the Freescale BSP, it is not really necessary to disable and re-enable the timer in order to reprogram the FIPER. (The documentation is rather unclear on this point. It seems that writing to the alarm register also disables the FIPER.) Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Cc: <stable@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud