On Wed, Feb 11, 2015 at 10:59 AM, jilaiw@codeaurora.org wrote:
There is one issue to use i2c_smbus_XX functions: i2c_smbus_read_i2c_block_data has limitation with the maximum count I2C_SMBUS_BLOCK_MAX. But in function hdmi_hdcp_recv_ksv_fifo, since the downstream ksv_fifo size will exceed this limitation and must be read in a single transaction, we can't use this function then.
That's interesting, because we have the same problem in the Synaptics driver, where we want to read more than 32 bytes with a method that follows the smbus flow.
Wolfram, do you have any input on making i2c_smbus* functions work for larger accesses? Or should we just conclude that it's not "smbus" and open code this in the various places?
Regards, Bjorn