summaryrefslogtreecommitdiff
path: root/mm/fremap.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-03-16 10:16:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-26 00:18:11 +0400
commit0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b (patch)
treee315ee7a92d5fa1e076d5cfca66e778572776d71 /mm/fremap.c
parent275b5d2061c20749582060be68b6ec4692736d28 (diff)
downloadlinux-0a5f19cf303ea9cc9bf89a42960a69db4ea3c35b.tar.xz
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 'mm/fremap.c')
0 files changed, 0 insertions, 0 deletions