]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
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)
commit4325bedd9c86ae807d702e6ae3488ec0ce5b7d25
treede5fb02f1d24431b60e1824abd863cc82abf4b1c
parent003dcb121237c905e7a7e67bb8aa073821351775
ARM: dts: dra72-evm: Fix spurious card insert/removal interrupt

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
arch/arm/boot/dts/dra72-evm.dts