]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: quirks: wl1271 is MMC_QUIRK_DISABLE_CD
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 5 Apr 2011 15:02:26 +0000 (18:02 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:00:05 +0000 (21:00 -0400)
commit14e7dc76f24577694f1c121e6ce1fd2f3d46c726
treeb16d3dbc8f7d0858b9df6490863892f70dd21dcb
parent2059a02dcb84236f9db9197fa9b00418d7b8465b
mmc: quirks: wl1271 is MMC_QUIRK_DISABLE_CD

The wl12xx device supports disconnecting the pull-up resistor on
CD/DAT[3] (pin 1) of the card.

Tell SDIO core to disconnect that resistor during card init,
since we don't need it at that point (and anyway all
hosts shall provide pull-up resistors on all data lines DAT[3:0]
as described in section 6 of the SD physical specification).

As a result, this may save some power, but it's also generally healthy
since it prevents both ends from pulling up that pin, which
results in undesirable asymmetric physical bus.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/quirks.c