]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mmc/host/sdhci.c
mmc: sdhci: fix the wrong type of curr
authorChuanxiao.Dong <chuanxiao.dong@intel.com>
Fri, 1 Aug 2014 06:00:13 +0000 (14:00 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:00 +0000 (13:59 +0200)
commitae9060377a67a0840f980bc0e2cb32af07baf479
tree681cc827daadff404aca6a4d11a28354a94311d7
parentbb2f45927f8e0d1fc0633f65cc1f17a40c80bf24
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>
drivers/mmc/host/sdhci.c