Re: [PATCH 2/3] mmc: core: API for temporarily disabling auto-retuning due to errors

From: Arend Van Spriel
Date: Mon May 20 2019 - 04:48:45 EST


On 5/19/2019 11:06 AM, Wolfram Sang wrote:

Let's add an API that the SDIO card drivers can call that will
temporarily disable the auto-tuning functionality. Then we can add a
call to this in the Broadcom WiFi driver and any other driver that
might have similar needs.

Can't you fix the WiFi driver to return something else than -EILSEQ
before calling mmc_request_done() to skip the retuning?

Not really. mmc_request_done() is for the host controller driver so the wifi driver is not involved.

Regards,
Arend