• Jarkko Lavinen's avatar
    MMC: OMAP: Abort stuck commands · 975c07f9
    Jarkko Lavinen authored
    When a card is removed while it is being accessed, a command can get stuck so
    that no timeout or end of command interrupt ever occurs. The command getting
    stuck is almost always CDM12, but also the other commands can get stuck. Catch
    a stuck command with a timer and try sending the initiliazation stream until
    the controller starts running again and responds with the end of command
    status.
    Signed-off-by: default avatarJarkko Lavinen <jarkko.lavinen@nokia.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    975c07f9
omap.c 36.5 KB