i2c_transfer & dma

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

 



Hi,

I was wondering if the buffer in an i2c_msg, passed to i2c_transfer must be 
dma-able i.e. dynamically allocated, like for USB?

The reason why I'm asking is because the e.g. the i2c_robotfuzz_osif usb-to-
i2c adapter passes the incoming data directly to a usb_control_msg which of 
course expects the buffer to be dma-able.

So the question is - does the user of i2c_transfer have to provide a dma-able 
buffer, or is the bus driver (like the robotfuzz one) expected to convert 
incoming buffer into a dma-able buffer?


Thanks,
Peter

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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux