]> git.baikalelectronics.ru Git - kernel.git/commit
memory: emif: handle overflow for timing for LP mode
authorNishanth Menon <nm@ti.com>
Sat, 16 Mar 2013 06:16:43 +0000 (11:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:18:12 +0000 (13:18 -0700)
commitce68aa3a0cc0c21c59bffcb312325f42d722b1d8
treeb8352a0f79151e2255c5c9736fbcdf604bf9895d
parentbbec037bddbf927e98ec631906235fe63ddf28a4
memory: emif: handle overflow for timing for LP mode

In case the custom timings provide values which overflow
the maximum possible field value, warn and use maximum
permissible value.

Signed-off-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>
drivers/memory/emif.c