summaryrefslogtreecommitdiff
path: root/drivers/mmc/davinci_mmc.c
diff options
context:
space:
mode:
authorMischa Jonker <mischa.jonker@synopsys.com>2013-07-26 16:18:40 +0200
committerPantelis Antoniou <panto@antoniou-consulting.com>2013-09-20 18:59:11 +0300
commit21bd5761a6e945eabaf245668868b58c2772fa21 (patch)
tree6e1fa187f2a6cb93764270aa44d49e8e1263f26e /drivers/mmc/davinci_mmc.c
parent2136d22630ef5acf36b90c45b6e44e964547b618 (diff)
downloadu-boot-imx-21bd5761a6e945eabaf245668868b58c2772fa21.zip
u-boot-imx-21bd5761a6e945eabaf245668868b58c2772fa21.tar.gz
u-boot-imx-21bd5761a6e945eabaf245668868b58c2772fa21.tar.bz2
mmc/dw_mmc: Allocate the correct amount of descriptors
This fixes two issues: * a descriptor was allocated for every block, while a descriptor can take 8 blocks * there was an off-by-one error in the descriptor preparation: there were two last descriptors, one with length==0 Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Andy Fleming <afleming@gmail.com>
Diffstat (limited to 'drivers/mmc/davinci_mmc.c')
0 files changed, 0 insertions, 0 deletions