emmc: optimize the conditions of fixdiv calc [1/1]
authorNan Li <nan.li@amlogic.com>
Fri, 1 Feb 2019 01:59:00 +0000 (09:59 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:30 +0000 (20:22 +0800)
commit88ab1a6088633839a1037e84a751187c67ac480b
treee094ef489542209b9b4ee9253550e10efecddb80
parentba1047bbf017ba05ecd72011e2173f4073794d60
emmc: optimize the conditions of fixdiv calc [1/1]

PD#SWPL-4857

Problem:
fixdiv calc Affect the use of other chips

Solution:
Adjust the usage conditions for the fixdiv calc func, witch
pdata->calc_f from dts.

Verify:
verify by g12b

Change-Id: I9598e2a24f76c76f4312c2694029fe4bb0f534d4
Signed-off-by: Nan Li <nan.li@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc.c
drivers/amlogic/mmc/aml_sd_emmc_v3.c
include/linux/amlogic/aml_sd_emmc_internal.h