commit | 95a294708bff539babf6acb3db2f80aa4f3ce13f | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Mon Dec 15 10:34:09 2014 +0100 |
committer | Lukasz Majewski <l.majewski@samsung.com> | Thu Dec 18 12:26:06 2014 +0100 |
tree | 17b26df37857b10b0da0971dabdeca166cf4caf2 | |
parent | 5aba39895bba2d9a2cd2b643904fd1eb6f3becca [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 <p.marczak@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com> [TestHW: Exynos4412-Trats2]