mmc: don't activate LED on status command.

This commit is contained in:
Sorgelig
2021-08-26 22:11:38 +08:00
parent fb750ebddc
commit 0f8c59fb77

View File

@@ -352,7 +352,7 @@ int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
if (err)
return err;
led_trigger_event(host->led, LED_FULL);
if (!mrq->cmd || mrq->cmd->opcode != MMC_SEND_STATUS) led_trigger_event(host->led, LED_FULL);
__mmc_start_request(host, mrq);
return 0;