summaryrefslogtreecommitdiff
path: root/lwis_device_slc.c
diff options
context:
space:
mode:
authorGe Bian <bian@google.com>2021-06-29 21:28:48 -0700
committerGe Bian <bian@google.com>2021-06-30 19:34:46 +0000
commit4c624a17777eec12f4f1378a91092d96959a70f0 (patch)
treedfb116469008d10070fc5c3a84d7273b122f2f97 /lwis_device_slc.c
parent366c3d101edc49baf98f75a5dd5e2e43aba8bedf (diff)
downloadlwis-4c624a17777eec12f4f1378a91092d96959a70f0.tar.gz
LWIS: Update SLC partition.
Bug: 186183144 Test: manual and CTS Change-Id: Ibca95968f43dbd3a5d40500e4d19216e4e575fe6 Signed-off-by: Ge Bian <bian@google.com>
Diffstat (limited to 'lwis_device_slc.c')
-rw-r--r--lwis_device_slc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lwis_device_slc.c b/lwis_device_slc.c
index 6c37b25..b24fe8e 100644
--- a/lwis_device_slc.c
+++ b/lwis_device_slc.c
@@ -62,8 +62,7 @@ static int lwis_slc_enable(struct lwis_device *lwis_dev)
int i = 0;
int ret = 0;
struct lwis_slc_device *slc_dev = (struct lwis_slc_device *)lwis_dev;
- static size_t pt_size_kb[NUM_PT] = { 512, 768, 768, 768, 1024, 1024,
- 1536, 1536, 1536, 2048, 2048 };
+ static size_t pt_size_kb[NUM_PT] = { 512, 1024, 1024, 1024, 1536, 1536, 1536, 2048, 2048 };
if (!lwis_dev) {
pr_err("LWIS device cannot be NULL\n");