Commit 3d11a12e authored by Wolfram Sang's avatar Wolfram Sang Committed by Wolfram Sang

i2c: ocores: enable atomic xfers

The driver already has the routine in place, tie it to the new callback.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent dd7dbf0e
...@@ -442,6 +442,7 @@ static u32 ocores_func(struct i2c_adapter *adap) ...@@ -442,6 +442,7 @@ static u32 ocores_func(struct i2c_adapter *adap)
static struct i2c_algorithm ocores_algorithm = { static struct i2c_algorithm ocores_algorithm = {
.master_xfer = ocores_xfer, .master_xfer = ocores_xfer,
.master_xfer_atomic = ocores_xfer_polling,
.functionality = ocores_func, .functionality = ocores_func,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment