Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 090c3d16 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Check for cqe_ops before accessing them"

parents d9a465aa 4afd2887
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ static void mmc_setup_queue(struct mmc_queue *mq, struct mmc_card *card)

	init_waitqueue_head(&mq->wait);

	if (host->cqe_ops->cqe_crypto_update_queue)
	if (host->cqe_ops && host->cqe_ops->cqe_crypto_update_queue)
		host->cqe_ops->cqe_crypto_update_queue(host, mq->queue);
}