emmc: optimize sdio tuning print [1/1]
authorNan Li <nan.li@amlogic.com>
Fri, 25 Oct 2019 11:20:48 +0000 (19:20 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 28 Oct 2019 02:42:22 +0000 (19:42 -0700)
commit3f3907b50eb321ce882113e1d9875d37b2f84f42
treedb98863b962cc366185abf905b8263b9a738ed0d
parent98cc86a2590f241b046e7df4a3713508d3f8bddd
emmc: optimize sdio tuning print [1/1]

PD#SWPL-15797

Problem:
commit a5c3731f5d46f4104876b8c7ddf84f7a1b6ba071
this patch has err, the print buf will be out of bounds.

Solution:
Reposition the pointer before each loop.

Verify:
tl1

Change-Id: I8f44269c375147c5290af9c6d84fd5d85be271f0
Signed-off-by: Nan Li <nan.li@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc_v3.c