Hi Dan, I understand now, thank you very much. On 3/8/2017 12:38, Dan Carpenter wrote:
No. Imagine the v4l2_subdev_call() loop exits with "fmt" set to NULL. It will cause a crash. Please re-read my original email because I think you may have meant to reset fmt after that loop. regards, dan carpenter