]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: populate the new *_atomic callbacks
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 3 Apr 2019 12:40:11 +0000 (14:40 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 16 Apr 2019 11:08:12 +0000 (13:08 +0200)
commitac773f273e82e2ec2ecffe6c2b0febcdd07f6162
tree2cadf90c762ede420d10bc097cd50b17314ed205
parentf009f14197edf050a2100aa92747997e99b13ad5
i2c: mux: populate the new *_atomic callbacks

If the parent adapter has atomic_xfer callbacks, populate them for the
mux adapter as well. We can use the same translation function as for the
non-atomic xfer callback.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Peter Rosin <peda@axentia.se>
Reviewed-by Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-mux.c