mirror of https://github.com/jetkvm/kvm.git
fix: remove continuous sleep mode check to prevent audio interference
The continuous ensure_sleep_mode_disabled() call in the format detection loop caused repeated I2C transactions to the TC358743, disrupting HDMI audio capture. Sleep mode is already disabled once during video_init(), which is sufficient.
This commit is contained in:
parent
557b3bf3e6
commit
0f43a84551
|
|
@ -752,7 +752,6 @@ void *run_detect_format(void *arg)
|
||||||
|
|
||||||
while (!should_exit)
|
while (!should_exit)
|
||||||
{
|
{
|
||||||
ensure_sleep_mode_disabled();
|
|
||||||
|
|
||||||
memset(&dv_timings, 0, sizeof(dv_timings));
|
memset(&dv_timings, 0, sizeof(dv_timings));
|
||||||
if (ioctl(sub_dev_fd, VIDIOC_QUERY_DV_TIMINGS, &dv_timings) != 0)
|
if (ioctl(sub_dev_fd, VIDIOC_QUERY_DV_TIMINGS, &dv_timings) != 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue