]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: dts: dra72-evm: Fix spurious card insert/removal interrupt
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 18 Aug 2015 22:58:22 +0000 (17:58 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Tue, 18 Aug 2015 23:00:05 +0000 (18:00 -0500)
ldo1_reg in addition to being connected to the io lines is also
connected to the card detect line. On card removal, omap_hsmmc
driver does a regulator_disable causing card detect line to be
pulled down. This raises a card insertion interrupt and once the
MMC core detects there is no card inserted, it does a
regulator disable which again raises a card insertion interrupt.

This happens in a loop causing infinite MMC interrupts.
Fix it by making ldo1_reg as always_on.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
[cherrypick to p-ti-linux-3.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I58acd0da5a744cf2554eeff05b5acfa0dfd97dfd


index 029d582beb2052f305288c7119232c7d5adfde77..46f709044bd19bce658c460c0ed628e15617ebf8 100644 (file)
                                        regulator-name = "ldo1";
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <3300000>;
+                                       regulator-always-on;