android: persistent_ram: Include ecc_size when calculating ecc_block
authorArve Hjønnevåg <arve@android.com>
Tue, 20 Mar 2012 23:01:31 +0000 (16:01 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Jul 2012 09:12:00 +0000 (14:12 +0530)
commitbee17c2c885d984d7bebbc37d9840403d37114b2
treecbc61c444355d822317a188cf84b53ead341328a
parentb125c9355263178107ea4a6bf57c15a99cd34679
android: persistent_ram: Include ecc_size when calculating ecc_block

Wastes less memory and allows using more memory for ecc than data.

Change-Id: I1537d28ef3e8626e2dfdc69f2e185d28b7600916
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/staging/android/persistent_ram.c