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>
Wed, 30 Oct 2019 05:48:38 +0000 (22:48 -0700)
commit54143273b14ddac8987fdfdfe40794a3594c52cc
treebc77a4bff83d2f018f5ed783bc3edf8d270c95b5
parentf0d1a050f0406baa09632cc1ece0dacc2cadcc79
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