--- zzzz-none-000/linux-5.15.111/drivers/mmc/core/queue.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/mmc/core/queue.c 2024-02-07 10:23:07.000000000 +0000 @@ -327,8 +327,9 @@ put_card = true; mq->busy = false; spin_unlock_irq(&mq->lock); - if (put_card) + if (put_card) { mmc_put_card(card, &mq->ctx); + } } else { WRITE_ONCE(mq->busy, false); }