android_kernel_samsung_msm8976/drivers/mmc/card
Konstantin Dorfman 1d318be403 mmc: block: add card device reference counting for CQ mode
There are following cmdq contexts accessing the card.
- Issue request: hold card before first incoming request.
- Error handling, timeout and shutdown: wrapped by hold/release
- Request completion: released card, when no more active requests

There are synchronous (discard, secure discard) and asynchronous (flush and
data requests) requests. Card hold done for both, but asynchronous requests
completed on soft irq context and the card is released there, while
synchronous requests are releasing the card immediately on return from
the issuing function.

Change-Id: I0ea8fd634f3eb4553296f8e5c44fef90c8440be7
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2015-06-03 14:33:59 +03:00
..
block.c mmc: block: add card device reference counting for CQ mode 2015-06-03 14:33:59 +03:00
Kconfig
Makefile
mmc_block_test.c mmc: card: fix bug in mmc block test 2015-01-22 17:36:14 +02:00
mmc_test.c
queue.c mmc: queue: Fix pull new requests condition, when in cmdq mode 2015-06-03 14:33:26 +03:00
queue.h mmc: core: fix shutdown in cmdq mode 2015-05-27 14:41:14 -07:00
sdio_uart.c