memory: emif: Fix the incorrect 'size' parameter in memcpy
authorOleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
Sat, 16 Mar 2013 06:16:46 +0000 (11:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:18:12 +0000 (13:18 -0700)
commit36caf3e525b24556f649aecd097cad73bde6f035
tree64d405f22b9f04793b8f15d34130ca6a1721a469
parent2553e32ae200210801dd3e3f58dd23169356c9d6
memory: emif: Fix the incorrect 'size' parameter in memcpy

The issue was that only the first timings table was added to the
emif platform data at the emif driver registration. All other
timings tables was filled with zeros. Now all emif timings table
are added to the platform data.

Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@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