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

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

Merge "crypto: msm: Add device wakeup initialization for qcrypto driver"

parents 42a29390 684829b2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1050,6 +1050,7 @@ static void _qcrypto_remove_engine(struct crypto_engine *pengine)
	cancel_work_sync(&pengine->bw_reaper_ws);
	cancel_work_sync(&pengine->bw_allocate_ws);
	del_timer_sync(&pengine->bw_reaper_timer);
	device_init_wakeup(&pengine->pdev->dev, false);

	if (pengine->bus_scale_handle != 0)
		msm_bus_scale_unregister_client(pengine->bus_scale_handle);
@@ -4497,6 +4498,7 @@ static int _qcrypto_probe(struct platform_device *pdev)
	pengine->active_seq = 0;
	pengine->last_active_seq = 0;
	pengine->check_flag = false;
	device_init_wakeup(&pengine->pdev->dev, true);

	tasklet_init(&pengine->done_tasklet, req_done, (unsigned long)pengine);
	crypto_init_queue(&pengine->req_queue, MSM_QCRYPTO_REQ_QUEUE_LENGTH);