diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-09 18:43:20 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-09 18:43:20 +0000 |
commit | 704225036a301757b0b02130e10b2cbdca9d9fed (patch) | |
tree | 135e5a45fd31d455515adea940adf31801179dc8 | |
parent | 24971136da5fda24b44e7fd0f67631a3c9b5f0a5 (diff) |
omap24xx: Fix MMC multiplexer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22563 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/omap24xx/patches-2.6.35/811-mmc-multiplexer-fixes.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-2.6.35/811-mmc-multiplexer-fixes.patch b/target/linux/omap24xx/patches-2.6.35/811-mmc-multiplexer-fixes.patch new file mode 100644 index 000000000..37082b875 --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.35/811-mmc-multiplexer-fixes.patch @@ -0,0 +1,18 @@ +--- + drivers/mfd/menelaus.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- linux-2.6.35.orig/drivers/mfd/menelaus.c ++++ linux-2.6.35/drivers/mfd/menelaus.c +@@ -356,9 +356,9 @@ int menelaus_set_mmc_slot(int slot, int + int b; + + if (enable) +- ret |= 1 << 1; ++ val |= 1 << 1; + else +- ret &= ~(1 << 1); ++ val &= ~(1 << 1); + b = menelaus_read_reg(MENELAUS_MCT_CTRL2); + b &= ~0x03; + b |= power; |