]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: Power quirk for ENE controllers
authorDarren Salt <linux@youmustbejoking.demon.co.uk>
Tue, 27 Feb 2007 02:47:18 +0000 (02:47 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:24 +0000 (10:50 -0800)
commit1e0715b5ff1b1de98be4c0d0db80251286d2436c
tree4f181cfe01a850b81748438743bf543b96bc30af
parent2f8432fcffa65ad899cee56a701fc81d460711db
mmc: Power quirk for ENE controllers

mmc: Power quirk for ENE controllers

Support for these devices was broken for 2.6.18-rc1 and later by commit
146ad66eac836c0b976c98f428d73e1f6a75270d, 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: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/sdhci.c
include/linux/pci_ids.h