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>
This commit is contained in:
Wolfram Sang 2019-04-03 14:40:16 +02:00 коммит произвёл Wolfram Sang
Родитель dd7dbf0eb0
Коммит 3d11a12ece
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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