
19 Dec
2012
19 Dec
'12
7:58 a.m.
On 12/19/2012 01:52 AM, Tom Rini wrote:
On Mon, Dec 03, 2012 at 02:19:44PM +0200, Nikita Kiryanov wrote:
Implement driver check for card detection.
Signed-off-by: Nikita Kiryanov nikita@compulab.co.il Signed-off-by: Igor Grinberg grinberg@compulab.co.il
- ret = omap_mmc_init(0, 0, 0);
- ret = omap_mmc_init(0, 0, 0, -1);
Everyone passes -1 here, including the follow-up patch for cm_t35. Why do we need the change?
This change is useful because on OMAP it's a fair assumption that card detect (and write protect) signal will be ascertained via a GPIO, though it is not a certainty.
Everybody who is not cm_t35 get a -1 because I did not try to figure out if they really do use GPIOs for card detect. cm_t35 gets a -1 because it does not use OMAP GPIOs for card detect, but relies on those of the PMIC instead.
--
Regards,
Nikita.