V4L2 devices, subdevices, ops and fops.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I have been writing this FM radio driver and I'm now trying to implement
it as a platform driver that passes IOCTL calls to a subdevice driver
that handles the communication with the hardware etc. 

For IOCTLs there's a macro v4l2_device_call_until_err in v4l2-device.h
that makes the calls pretty convenient to write. But for file operations
there's not such define.

This leads me to the question: should there be such a define for fops or
should they be treated in a different way? To me the IOCTL callbacks and
the file operation callbacks look pretty similar...

Cheers,
Matti






--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux