On Mon, 5 Sep 2011, Bastian Hecht wrote:
[snip]
And these ioctl calls go straight through to my driver? Or is there
some intermediate work by the subdev architecture? I'm asking because
I don't check the buffer type in g_fmt as well. If so, I have to
change that too.
With soc-camera all ioctl()s first enter in soc_camera.c (check
soc_camera_ioctl_ops), then they are typically dispatched to the camera
host driver, which then calls respective subdev methods. Check respective
ioctl() implementations for details.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/