commit | 6dc6f2619017109e45550accc120f823fdc31c3e | [log] [tgz] |
---|---|---|
author | Stefan Wahren <stefan.wahren@i2se.com> | Sun Nov 11 21:23:58 2018 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Dec 17 08:26:24 2018 +0100 |
tree | 76d1dc5b735e35aed0c4f7fe5b48e5498618a029 | |
parent | 37fefadee8bb665ae337a15aa635dabff9f66ade [diff] |
mmc: bcm2835: Refactor dma_map_sg handling There are two variables len within bcm2835_prepare_dma. So rename the result of dma_map_sg to sg_len. While we are at this add a bail out to simplify the following change. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>