diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2013-03-16 07:16:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 21:18:11 +0100 |
commit | 0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b (patch) | |
tree | e315ee7a92d5fa1e076d5cfca66e778572776d71 /drivers/power | |
parent | drivers: char: Use PTR_RET function (diff) | |
download | linux-0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b.tar.xz linux-0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b.zip |
memory: emif: Fix the lpmode timeout calculation
The driver tries to round up the specified timeout cycles to
the next power of 2 value. This should be done defore updating
timeout variable.
Correcting this here.
Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions