commit | 30091404af5a7cd515e7b565df76932e295d8f6f | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Wed Oct 22 20:21:30 2008 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Wed Oct 22 20:21:30 2008 +0200 |
tree | 6ce6ecb5707aca55aff260ff3a1ce8a3453be3de | |
parent | 08e5338d119daeb3c7746fa80fa916b8d3d48e89 [diff] |
i2c-algo-pcf: Add adapter hooks around xfer begin and end Some I2C bus implementations need to synchronize with external entities, such as system firmware, which might also be programming the same I2C bus. In order to facilitate this add ->xfer_begin() and ->xfer_end() hooks which are invoked around pcf_xfer(). [JD: Make these hooks optional.] Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>