aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAaro Koskinen <[email protected]>2021-11-27 21:42:14 +0200
committerWolfram Sang <[email protected]>2021-11-29 09:52:10 +0100
commitb12764695c3fcade145890b67f82f8b139174cc7 (patch)
treedc71a118218105d3a437de269f5793dd78bbbb7a /scripts
parentd58071a8a76d779eedab38033ae4c821c30295a5 (diff)
i2c: cbus-gpio: set atomic transfer callback
CBUS transfers have always been atomic, but after commit 63b96983a5dd ("i2c: core: introduce callbacks for atomic transfers") we started to see warnings during e.g. poweroff as the atomic callback is not explicitly set. Fix that. Fixes the following WARNING seen during Nokia N810 power down: [ 786.570617] reboot: Power down [ 786.573913] ------------[ cut here ]------------ [ 786.578826] WARNING: CPU: 0 PID: 672 at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x100/0x110 [ 786.587799] No atomic I2C transfer handler for 'i2c-2' Fixes: 63b96983a5dd ("i2c: core: introduce callbacks for atomic transfers") Signed-off-by: Aaro Koskinen <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions