mirror of https://gitee.com/openkylin/linux.git
82fe39a6bc
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 <wsa+renesas@sang-engineering.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> |
||
---|---|---|
.. | ||
busses | ||
muxes | ||
DMA-considerations | ||
dev-interface | ||
fault-codes | ||
functionality | ||
gpio-fault-injection | ||
i2c-protocol | ||
i2c-stub | ||
i2c-topology | ||
instantiating-devices | ||
old-module-parameters | ||
slave-eeprom-backend | ||
slave-interface | ||
smbus-protocol | ||
summary | ||
ten-bit-addresses | ||
upgrading-clients | ||
writing-clients |