summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <[email protected]>2014-12-15 10:34:09 +0100
committerLukasz Majewski <[email protected]>2014-12-18 12:26:06 +0100
commit7da6fa27168c468e58814d54fe3f66109036ec2e (patch)
tree17b26df37857b10b0da0971dabdeca166cf4caf2 /scripts/basic
parent267abc626da609560aecab83e06b187954974ba6 (diff)
dfu: mmc: check if mmc device exists in mmc_block_op()
The function mmc_block_op() is the last function before the physicall data write, but the mmc device pointer is not checked. If mmc device not exists, then data abort will occur. To avoid this, first the mmc device pointer is checked. Signed-off-by: Przemyslaw Marczak <[email protected]> Tested-by: Lukasz Majewski <[email protected]> [TestHW: Exynos4412-Trats2]
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions