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

Commit 72a01433 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "crypto: qce50: Init sg don't just add pages to it" into msm-4.14

parents c1908d2c ff74bd22
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5924,8 +5924,7 @@ static int setup_dummy_req(struct qce_device *pce_dev)
	int len = DUMMY_REQ_DATA_LEN;

	memcpy(pce_dev->dummyreq_in_buf, input, len);
	sg_set_buf(&pce_dev->dummyreq.sg, pce_dev->dummyreq_in_buf, len);
	sg_mark_end(&pce_dev->dummyreq.sg);
	sg_init_one(&pce_dev->dummyreq.sg, pce_dev->dummyreq_in_buf, len);

	pce_dev->dummyreq.sreq.alg = QCE_HASH_SHA1;
	pce_dev->dummyreq.sreq.qce_cb = qce_dummy_complete;