]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: zynq: Fix tuning_loop_counter type in arasan_sdhci_execute_tuning()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 07:12:29 +0000 (09:12 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:04 +0000 (08:54 +0200)
commitb6911780b5b494bc2a455039082990c960190ddc
treeb2dc45586581ea09da23f44bd836760a81959838
parent1471fadf69493141e990b078d8b8a3b215008f31
mmc: zynq: Fix tuning_loop_counter type in arasan_sdhci_execute_tuning()

Code around tuning_loop_counter variable expects to go below zero.
That's why this variable can't use unsigned type.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/zynq_sdhci.c