commit | a1e7a4dd87d52a1e2794a6d53418e13346f32272 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Tue Jul 02 10:53:48 2019 +0200 |
committer | Peng Fan <peng.fan@nxp.com> | Mon Jul 15 10:16:49 2019 +0800 |
tree | ead5751eb1a3f7b2942b930e0fac24c05e5a70ca | |
parent | 7e40f41ecaf3ff3b5e705b4236337bb3f18ada02 [diff] |
mmc: omap_hsmmc: reset FSM for DAT and CMD lines if needed before a new command It sometimes happen that the PSTATE register does not indicate that the bus is ready when it really is. This usually happens after a mode switch. In that case it makes sense to reset the FSM handling the CMD and DATA Also reset the FSMs if the STATE register cannot be cleared. This also sometimes happens after a mode switch. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>