pc_intel_fb_drv: fix Shuttle DS57U

When using the framebuffer driver on this machine the
'cpu_latency_qos_request_active' dummy is triggered. Removing the
trace-and-stop call makes the driver usable.

In addition, 'cpu_latency_qos_remove_request' is changed as well
although it is guarded by 'cpu_latency_qos_request_active'.

Fixes #4489.
This commit is contained in:
Josef Söntgen 2022-04-27 11:36:33 +02:00 committed by Christian Helmuth
parent 6cab572b8f
commit 481b4fde25

View File

@ -605,13 +605,14 @@ void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value)
bool cpu_latency_qos_request_active(struct pm_qos_request *req)
{
lx_emul_trace_and_stop(__func__);
lx_emul_trace(__func__);
return false;
}
void cpu_latency_qos_remove_request(struct pm_qos_request *req)
{
lx_emul_trace_and_stop(__func__);
lx_emul_trace(__func__);
}