• Darren Salt's avatar
    mmc: Power quirk for ENE controllers · 9e9dc5f2
    Darren Salt authored
    Support for these devices was broken for 2.6.18-rc1 and later by commit
    146ad66e, which added voltage level support.
    
    This restores the previous behaviour for these devices by ensuring that when
    the voltage is changed, only one write to set the voltage is performed.
    
    It may be that both writes are needed if the voltage is being changed between
    two non-zero values or that it's safe to ensure that only one write is done
    if the hardware only supports one voltage; I don't know whether either is the
    case nor can I test since I have only the one SD reader (1524:0550), and it
    supports just the one voltage.
    Signed-off-by: default avatarDarren Salt <linux@youmustbejoking.demon.co.uk>
    Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
    9e9dc5f2
sdhci.c 37.7 KB