]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: block: Delete mmc_access_rpmb()
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Sep 2017 08:02:01 +0000 (10:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:40:10 +0000 (11:40 +0100)
commita2babd1c1132452c415aa9b50dc84c14b5967d89
tree1d88ed2c7ad300f606e6ccf17de9ed270295aeac
parent92b7a73e6db658d45a1722bd8f360ecf78a5eee1
mmc: block: Delete mmc_access_rpmb()

This function is used by the block layer queue to bail out of
requests if the current request is towards an RPMB
"block device".

This was done to avoid boot time scanning of this "block
device" which was never really a block device, thus duct-taping
over the fact that it was badly engineered.

This problem is now gone as we removed the offending RPMB block
device in another patch and replaced it with a character
device.

Cc: Tomas Winkler <tomas.winkler@intel.com>
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