diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-03 15:40:16 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-04-16 14:08:15 +0300 |
commit | 3d11a12ece85bc29a80a111a0f8b5498f9831d9f (patch) | |
tree | e473ee481390447b917288a6e730591e487cc837 /drivers/i2c | |
parent | dd7dbf0eb090947f521387a9b39e963334af5e38 (diff) | |
download | linux-3d11a12ece85bc29a80a111a0f8b5498f9831d9f.tar.xz |
i2c: ocores: enable atomic xfers
The driver already has the routine in place, tie it to the new callback.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ocores.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 1b99f467aae0..c3dabee0aa35 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -442,6 +442,7 @@ static u32 ocores_func(struct i2c_adapter *adap) static struct i2c_algorithm ocores_algorithm = { .master_xfer = ocores_xfer, + .master_xfer_atomic = ocores_xfer_polling, .functionality = ocores_func, }; |