media: rockchip: hdmirx: modify timging unstable return.

1. modify timging unstable return.
2. checkout bound cpu 4 success.

Change-Id: I4369eea83fd2a718241e6874699c69bca871d27d
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
This commit is contained in:
Wangqiang Guo 2023-05-10 10:12:19 +00:00 committed by Tao Huang
parent 984cbfd81a
commit d636b7a6d6

View File

@ -904,8 +904,10 @@ static int hdmirx_try_to_get_timings(struct rk_hdmirx_dev *hdmirx_dev,
usleep_range(10*1000, 10*1100);
}
if (try_cnt > 8 && cnt < 8)
if (try_cnt > 8 && cnt < 8) {
v4l2_dbg(1, debug, v4l2_dev, "%s: res not stable!\n", __func__);
ret = -EINVAL;
}
return ret;
}
@ -4174,6 +4176,9 @@ static int hdmirx_probe(struct platform_device *pdev)
__func__, cpu_aff,
hdmirx_dev->bound_cpu,
hdmirx_dev->wdt_cfg_bound_cpu);
if (hdmirx_dev->bound_cpu != 4)
dev_err(dev, "%s: Bound_cpu:%d, expect bound cpu 4!\n",
__func__, hdmirx_dev->bound_cpu);
cpu_latency_qos_add_request(&hdmirx_dev->pm_qos, PM_QOS_DEFAULT_VALUE);
mutex_init(&hdmirx_dev->stream_lock);