Camera USB2.0 Issue with Compute Module 4 + PCI

I am capturing images using a USB Camera connected to a Raspberry Pi, which in turn is connected to an external PCI interface. Sometimes, the camera works fine, but at other times, it shows an error stating that it is unable to capture the image.
Please refer below link for more information.
https://forums.raspberrypi.com/viewtopic.php?t=377763