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)
commit7168bff2cfd710293bda52eab4036582c89e07fc
tree2cadf90c762ede420d10bc097cd50b17314ed205
parent63b96983a5ddfedd7daea72dbbc08ea873c54f27
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