mmc: queue: turn queue flags into bools
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 1 Feb 2017 12:47:56 +0000 (13:47 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:21:00 +0000 (13:21 +0100)
commit9491be5ff06ff08d61e6a8d767382ea0037a6f38
treed759768390b4541401cd683bdfc12c04f02a7df0
parent74f5ba357c7cd63c664e65fb7a116dbc0538a2ec
mmc: queue: turn queue flags into bools

Instead of masking and setting two bits in the "flags" field
for the mmc_queue, just use two bools named "suspended" and
"new_request".

The masking and setting would likely have race conditions
anyways, it is better to use a simple member like this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h