mmc: don't activate LED on status command.

This commit is contained in:
Sorgelig
2021-08-26 22:11:38 +08:00
parent 99a2c80d00
commit 2d39e76d1b

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;