commit | 1791b13ea4d97a6a7c162edd54485e932ad92f1b | [log] [tgz] |
---|---|---|
author | James Hogan <james.hogan@imgtec.com> | Fri Jun 24 13:55:55 2011 +0100 |
committer | Chris Ball <cjb@laptop.org> | Wed Jul 20 17:20:58 2011 -0400 |
tree | 0012ece1a9b0bf403f759d5f552fc34c6d8c82d1 | |
parent | 7456caae37396fc1bc6f8e9461d07664b8c2f280 [diff] |
mmc: dw_mmc: convert card tasklet to workqueue Convert the card insert/remove tasklet to a workqueue, and call the setpower platform specific callback without the spinlock held. This means neither of the setpower or get_cd callbacks are called from atomic context which allows them to sleep. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>