From: Kishon Vijay Abraham I Date: Thu, 30 Jul 2015 08:13:40 +0000 (+0530) Subject: ARM: dts: dra72-evm: Fix spurious card insert/removal interrupt X-Git-Tag: firefly_0821_release~176^2~1183^2~4^2~15 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d62ce9ffd8211a423c462811ef083d2493a44321;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 43ee6ac72fea..c11ccb10e3de 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -295,6 +295,7 @@ regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; + regulator-always-on; regulator-boot-on; };