commit | ae9060377a67a0840f980bc0e2cb32af07baf479 | [log] [tgz] |
---|---|---|
author | Chuanxiao.Dong <chuanxiao.dong@intel.com> | Fri Aug 01 14:00:13 2014 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue Sep 09 13:59:00 2014 +0200 |
tree | 681cc827daadff404aca6a4d11a28354a94311d7 | |
parent | bb2f45927f8e0d1fc0633f65cc1f17a40c80bf24 [diff] |
mmc: sdhci: fix the wrong type of curr curr should use signed type since it will contain the returned value which is possible to be a negative value. Using u32 will make the returned value to be true even there is a negative result. Change to use int instead of u32 Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>