mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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:
parent
dd7dbf0eb0
commit
3d11a12ece
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user