1
0
Fork 0

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>
hifive-unleashed-5.2
Wolfram Sang 2019-04-03 14:40:16 +02:00 committed by Wolfram Sang
parent dd7dbf0eb0
commit 3d11a12ece
1 changed files with 1 additions and 0 deletions

View File

@ -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,
};