Wolfram Sang
82fe39a6bc
i2c: refactor function to release a DMA safe buffer
...
a) rename to 'put' instead of 'release' to match 'get' when obtaining
the buffer
b) change the argument order to have the buffer as first argument
c) add a new argument telling the function if the message was
transferred. This allows the function to be used also in cases
where setting up DMA failed, so the buffer needs to be freed without
syncing to the message buffer.
Also convert the only user.
Signed-off-by: Wolfram Sang <[email protected] >
Reviewed-by: Niklas Söderlund <[email protected] >
Signed-off-by: Wolfram Sang <[email protected] >
2018-08-30 23:13:15 +02:00
..
busses
i2c: ocores: update my email address
2018-08-24 14:46:43 +02:00
muxes
i2c: mux: gpio: move header to platform_data
2018-05-17 16:27:52 +02:00
dev-interface
Documentation/i2c: adopt kernel commenting style in examples
2018-04-18 10:09:44 +02:00
DMA-considerations
i2c: refactor function to release a DMA safe buffer
2018-08-30 23:13:15 +02:00
fault-codes
functionality
i2c: fix reference to functionality constants definition
2015-02-19 16:57:48 +01:00
gpio-fault-injection
i2c: gpio: fault-injector: add incomplete_write_byte
2018-07-03 23:09:36 +02:00
i2c-protocol
Documentation: i2c: improve section about flags mangling the protocol
2014-04-06 13:53:48 +02:00
i2c-stub
i2c: stub: Add support for banked register ranges
2014-07-17 19:56:15 +02:00
i2c-topology
i2c: Documentation: i2c-topology: mention recent driver additions
2017-08-22 08:36:57 +02:00
instantiating-devices
old-module-parameters
slave-eeprom-backend
Doc: i2c: Fix typo in Documentation/i2c
2016-02-10 13:12:14 -07:00
slave-interface
Documentation: i2c: slave-interface: add note for driver development
2016-09-08 16:57:14 +02:00
smbus-protocol
i2c: use an IRQ to report Host Notify events, not alert
2016-11-24 16:22:06 +01:00
summary
Documentation: i2c: describe the new slave mode
2015-03-27 16:53:39 +01:00
ten-bit-addresses
i2c: support 10 bit and slave addresses in sysfs 'new_device'
2015-08-24 14:05:15 +02:00
upgrading-clients
Documentation: i2c: Use PM ops instead of legacy suspend/resume
2014-12-04 19:09:03 +01:00
writing-clients
Documentation: i2c: Use PM ops instead of legacy suspend/resume
2014-12-04 19:09:03 +01:00