diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-10-20 15:01:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-10-24 19:14:17 +0200 |
commit | 028822b714bd3a159d65416c53f1549345b53d9e (patch) | |
tree | 39b63ad3629941b74923089a87a8b451a3bec795 /drivers/most/Kconfig | |
parent | 9972e6b404884adae9eec7463e30d9b3c9a70b18 (diff) |
mmc: core: Fix WRITE_ZEROES CQE handling
WRITE_ZEROES requests use TRIM, so mark them as needing to be issued
synchronously even when a CQE is being used. Without this,
mmc_blk_mq_issue_rq() triggers a WARN_ON_ONCE() and fails the request
since we don't have any handling for issuing this asynchronously.
Fixes: f7b6fc327327 ("mmc: core: Support zeroout using TRIM for eMMC")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221020130123.4033218-1-vincent.whitchurch@axis.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/most/Kconfig')
0 files changed, 0 insertions, 0 deletions