commit | a7a609109c1897f4e746977d6659bbb3196d8265 | [log] [tgz] |
---|---|---|
author | Mischa Jonker <mischa.jonker@synopsys.com> | Fri Jul 26 16:18:40 2013 +0200 |
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | Fri Sep 20 18:59:11 2013 +0300 |
tree | 6e1fa187f2a6cb93764270aa44d49e8e1263f26e | |
parent | 7423bed3ae90f21b71cd6c577a62a109fe329edb [diff] |
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>