techpack: display: Async suspend/resume callbacks

Make rotator suspend/resume callbacks asynchronous, improving
suspend/resume latency.

Bug: 134703102
Change-Id: I79cea74a33620b8b00c24b5f031cf6969fe09aff
This commit is contained in:
Vincent Palomares
2021-07-06 14:25:18 +09:00
committed by Wiktor Rudzki
parent d05f2b6d3b
commit aa524ab717

View File

@@ -3510,6 +3510,8 @@ static int sde_rotator_probe(struct platform_device *pdev)
rot_dev->kthread_free[i] = true;
}
device_enable_async_suspend(&pdev->dev);
SDEDEV_INFO(&pdev->dev, "SDE v4l2 rotator probe success\n");
return 0;