summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/mmc.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-11-29 12:09:15 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-12-05 10:31:07 +0100
commitc5bda0ca6fab8e040c8ea3c71fdd16deee0f132f (patch)
treed1cf7272bc96b59f524048e8788397dc898c76f2 /drivers/mmc/core/mmc.c
parentc09949cff5eb408c30f154207ebdc706d94fe1f3 (diff)
downloadop-kernel-dev-c5bda0ca6fab8e040c8ea3c71fdd16deee0f132f.zip
op-kernel-dev-c5bda0ca6fab8e040c8ea3c71fdd16deee0f132f.tar.gz
mmc: queue: Introduce queue depth and use it to allocate and free
Add a mmc_queue member to record the size of the queue, which currently supports 2 requests on-the-go at a time. Instead of allocating resources for 2 slots in the queue, allow for an arbitrary number. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/mmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud