diff options
author | Kevin D. Kissell <[email protected]> | 2009-11-10 11:45:46 -0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2009-11-13 18:10:38 +0100 |
commit | 5df9d11be46a9f704208644a1e7f13c6104ecff2 (patch) | |
tree | 9d60800fa2b9678c53fc78f3100821c20184e2c1 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1b12a9c87792550a3d7f5f39eb529c822b911b17 (diff) |
MIPS: SMTC: Fix lockup in smtc_distribute_timer
1. At the end of smtc_distribute_timer, nextstamp is valid and has already
passed so we goto repeat.
2. Nothing updates nextstamp (only updated if the timeout is in the future
And we just decided it is in the past)
3. At the end nextstamp still has the same value so it is still valid and
in the past.
4. This repeats until read_c0_count has a value which causes nextstamp to
be in the future.
Reported and initial patch and testing by Mikael Starvik
<[email protected]>.
Signed-off-by: Kevin D. Kissell <[email protected]>
Cc: Mikael Starvik <[email protected]>
Cc: [email protected]
Cc: Jesper Nilsson <[email protected]>
Patchwork: http://patchwork.linux-mips.org/patch/621/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions