commit | 0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Sat Mar 16 11:46:41 2013 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 13:18:11 2013 -0700 |
tree | e315ee7a92d5fa1e076d5cfca66e778572776d71 | |
parent | 275b5d2061c20749582060be68b6ec4692736d28 [diff] |
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>