How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c)
I'm writing the I2C adapter driver for SOC. This adapter exist now in system and RTC driver works with it via .master_xfer.
I would like to send IOCTL's from application via /dev/i2c. I have loaded i2c_dev and all modules. After sending IOCTL I get following :
#i2ccmd read 0
ioctl, cmd=0x03, arg=0x00
i2cdev_ioctl method doesn't send I2C_RDWR IOCT'L to my adapter driver. How can I forward those IOCTL's to i2c-rt3352.c ?