Passing data periodically from driver to application
I am writing a device driver for a CD device. The device communicates with the system via I2C. My driver is a I2C CD Client driver which sends and receives control commands via I2C. After sending PLAY I2C command, in response, the device firmware sends the PLAY STATUS and periodic time information. I would like to know is which is the best way asynchronous way in I can send this time information to the application. The control commands are implemented as IOCTL calls in my driver.
Thanks and Regards,