summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-gpio.c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2018-06-20 11:43:23 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-06-29 08:19:52 +0200
commit9aa613674f89d01248ae2e4afe691b515ff8fbb6 (patch)
treef38b5356e2e3f24673760f47bcea33257c588d48 /drivers/i2c/busses/i2c-gpio.c
parenti2c: algos: bit: mention our experience about initial states (diff)
downloadlinux-9aa613674f89d01248ae2e4afe691b515ff8fbb6.tar.xz
linux-9aa613674f89d01248ae2e4afe691b515ff8fbb6.zip
i2c: smbus: kill memory leak on emulated and failed DMA SMBus xfers
If DMA safe memory was allocated, but the subsequent I2C transfer fails the memory is leaked. Plug this leak. Fixes: 8a77821e74d6 ("i2c: smbus: use DMA safe buffers for emulated SMBus transactions") Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org
Diffstat (limited to 'drivers/i2c/busses/i2c-gpio.c')
0 files changed, 0 insertions, 0 deletions