mmc: meson-gx: improve interrupt handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 7 Feb 2017 21:34:51 +0000 (22:34 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 14 Feb 2017 08:10:56 +0000 (09:10 +0100)
commit92763b997e468700b26a8fdddc5bee3e3c2a39fa
tree26d5deec4cbba7ccaf1daf39283931bf26ee966d
parent690f90b628aaa5800244d0c6d06f2c0fa2d57e22
mmc: meson-gx: improve interrupt handling

Disabling and immediately re-enabling interrupts in meson_mmc_request
doesn't provide a benefit. Instead enable interrupts in probe already.
And disable interrupts in remove, this was missing so far.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c