commit | e7f664ede4a77d80036bbf5121b36cfce5c5de9f | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Fri Feb 09 12:09:27 2018 +0100 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Mon Feb 19 16:59:21 2018 +0900 |
tree | 7e111a98370c6852c70608440836b38f9939e710 | |
parent | 5395e24873b2d48fc7474beff512207c0f2af7f4 [diff] |
mmc: Fix bug in sd_set_card_speed() After settings the speed of the sd with the switch command, a check is done to make sure that the new speed has been set. The current check has a masking error: speed are encoded on 4 bits only. Fix it by masking the upper bits. This fixes a problem seen with QEmu emulating a vexpress-a15. Reported-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Jonathan Gray <jsg@jsg.id.au>