]> git.baikalelectronics.ru Git - kernel.git/commit
omap4: pandaboard: fix up mmc card detect logic
authorMenon, Nishanth <nm@ti.com>
Tue, 19 Oct 2010 14:50:25 +0000 (09:50 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:30:32 +0000 (00:30 +0200)
commitc17ea9749d545686f64d23915fdcf3de02723cac
treee26b119e77d5a7940e5017a5352ed966c8f3a4bf
parent8d16d7392754781d3cd9f03e6a258bac1cbd46aa
omap4: pandaboard: fix up mmc card detect logic

For MMC1 Controller, card detect interrupt source is
twl6030 which is non-gpio. The card detect call back function provides
card present/absent status by reading MMC Control register present
on twl6030. This functionality was introduced in mfd tree on
track to kernel.org

Sync pandaboard to the same and make mmc work.

Cc: Tony Lindgren <tony@atomide.com>
Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Madhusudhan Chikkature <madhu.cr@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-omap2/board-omap4panda.c