mmc: tmio_mmc: do not enable card hotplug interrupts, if unused
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 22 Feb 2012 12:16:09 +0000 (13:16 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:02 +0000 (12:20 -0400)
commite23cd53c799694d0dc1d6a66370201ad9c181bae
treedd8bf6b3e353656b08c6e5441a6e3a52f28dbaf3
parente3f1adb63cfa6f6ef6b4e63a546e13210c5f3cb2
mmc: tmio_mmc: do not enable card hotplug interrupts, if unused

If TMIO MMC is used in polling mode, or the card is non-removable, or
card-detection is performed, using an external interrupt, there is no
need to enable controller native card hotplug interrupts.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c