mmc: Delay the card_event callback into the mmc_rescan worker
authorMarkus Mayer <markus.mayer@linaro.org>
Tue, 8 Apr 2014 22:19:43 +0000 (15:19 -0700)
committerChris Ball <chris@printf.net>
Tue, 22 Apr 2014 11:06:36 +0000 (07:06 -0400)
This change removes the callback from atomic context which it doesn't
need to be in, and puts it in line with the debounced rescan.

This code is based on these e-mail threads with Christian Daudt:

  https://lkml.org/lkml/2013/8/19/539
  https://lkml.org/lkml/2014/3/19/79

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>

No differences found