• Simon Horman's avatar
    mmc: sdhi: Add write16_hook · 973ed3af
    Simon Horman authored
    Some controllers require waiting for the bus to become idle
    before writing to some registers. I have implemented this
    by adding a hook to sd_ctrl_write16() and implementing
    a hook for SDHI which waits for the bus to become idle.
    
    Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Cc: Magnus Damm <magnus.damm@gmail.com>
    Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    973ed3af
sh_mobile_sdhi.c 5.83 KB