From c3aad937535d8d9334bf517d12c8249fbf91f6c9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 2 Nov 2013 23:21:05 +0100 Subject: [PATCH] actorlib/spi/DMAWriteController: make ack_when_inactive a keyword-only arg --- migen/actorlib/spi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/actorlib/spi.py b/migen/actorlib/spi.py index 45f3b21f..35e4b21f 100644 --- a/migen/actorlib/spi.py +++ b/migen/actorlib/spi.py @@ -157,7 +157,7 @@ class DMAReadController(_DMAController): self.comb += self.r_busy.status.eq(self.busy) class DMAWriteController(_DMAController): - def __init__(self, bus_accessor, ack_when_inactive=False, *args, **kwargs): + def __init__(self, bus_accessor, *args, ack_when_inactive=False, **kwargs): bus_aw = flen(bus_accessor.address_data.payload.a) bus_dw = flen(bus_accessor.address_data.payload.d) _DMAController.__init__(self, bus_accessor, bus_aw, bus_dw, *args, **kwargs) -- 2.30.2