From: Darren Salt Date: Sat, 27 Jan 2007 14:32:31 +0000 (+0100) Subject: mmc: Power quirk for ENE controllers X-Git-Tag: v2.6.21-rc2~42^2~20^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9dc5f29f2eb65153a15c4fdb12b4382e3a75b2;p=pandora-kernel.git 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 Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed