diff options
-rw-r--r-- | arch/arm/mach-lpc32xx/phy3250.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear3xx.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear6xx.c | 4 | ||||
-rw-r--r-- | drivers/dma/amba-pl08x.c | 8 | ||||
-rw-r--r-- | include/linux/amba/pl08x.h | 8 |
5 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index c1cd5a943ab1..e54f87ec2e4a 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc32xx/phy3250.c | |||
@@ -182,8 +182,8 @@ static void pl08x_put_signal(const struct pl08x_channel_data *cd, int ch) | |||
182 | static struct pl08x_platform_data pl08x_pd = { | 182 | static struct pl08x_platform_data pl08x_pd = { |
183 | .slave_channels = &pl08x_slave_channels[0], | 183 | .slave_channels = &pl08x_slave_channels[0], |
184 | .num_slave_channels = ARRAY_SIZE(pl08x_slave_channels), | 184 | .num_slave_channels = ARRAY_SIZE(pl08x_slave_channels), |
185 | .get_signal = pl08x_get_signal, | 185 | .get_xfer_signal = pl08x_get_signal, |
186 | .put_signal = pl08x_put_signal, | 186 | .put_xfer_signal = pl08x_put_signal, |
187 | .lli_buses = PL08X_AHB1, | 187 | .lli_buses = PL08X_AHB1, |
188 | .mem_buses = PL08X_AHB1, | 188 | .mem_buses = PL08X_AHB1, |
189 | }; | 189 | }; |
diff --git a/arch/arm/mach-spear/spear3xx.c b/arch/arm/mach-spear/spear3xx.c index 0227c97797cd..bf3b1fd8cb23 100644 --- a/arch/arm/mach-spear/spear3xx.c +++ b/arch/arm/mach-spear/spear3xx.c | |||
@@ -56,8 +56,8 @@ struct pl08x_platform_data pl080_plat_data = { | |||
56 | }, | 56 | }, |
57 | .lli_buses = PL08X_AHB1, | 57 | .lli_buses = PL08X_AHB1, |
58 | .mem_buses = PL08X_AHB1, | 58 | .mem_buses = PL08X_AHB1, |
59 | .get_signal = pl080_get_signal, | 59 | .get_xfer_signal = pl080_get_signal, |
60 | .put_signal = pl080_put_signal, | 60 | .put_xfer_signal = pl080_put_signal, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | /* | 63 | /* |
diff --git a/arch/arm/mach-spear/spear6xx.c b/arch/arm/mach-spear/spear6xx.c index ec8eefbbdfad..cf477c78bb18 100644 --- a/arch/arm/mach-spear/spear6xx.c +++ b/arch/arm/mach-spear/spear6xx.c | |||
@@ -335,8 +335,8 @@ static struct pl08x_platform_data spear6xx_pl080_plat_data = { | |||
335 | }, | 335 | }, |
336 | .lli_buses = PL08X_AHB1, | 336 | .lli_buses = PL08X_AHB1, |
337 | .mem_buses = PL08X_AHB1, | 337 | .mem_buses = PL08X_AHB1, |
338 | .get_signal = pl080_get_signal, | 338 | .get_xfer_signal = pl080_get_signal, |
339 | .put_signal = pl080_put_signal, | 339 | .put_xfer_signal = pl080_put_signal, |
340 | .slave_channels = spear600_dma_info, | 340 | .slave_channels = spear600_dma_info, |
341 | .num_slave_channels = ARRAY_SIZE(spear600_dma_info), | 341 | .num_slave_channels = ARRAY_SIZE(spear600_dma_info), |
342 | }; | 342 | }; |
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 8bad254a498d..06fe45c74de5 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -299,8 +299,8 @@ static int pl08x_request_mux(struct pl08x_dma_chan *plchan) | |||
299 | const struct pl08x_platform_data *pd = plchan->host->pd; | 299 | const struct pl08x_platform_data *pd = plchan->host->pd; |
300 | int ret; | 300 | int ret; |
301 | 301 | ||
302 | if (plchan->mux_use++ == 0 && pd->get_signal) { | 302 | if (plchan->mux_use++ == 0 && pd->get_xfer_signal) { |
303 | ret = pd->get_signal(plchan->cd); | 303 | ret = pd->get_xfer_signal(plchan->cd); |
304 | if (ret < 0) { | 304 | if (ret < 0) { |
305 | plchan->mux_use = 0; | 305 | plchan->mux_use = 0; |
306 | return ret; | 306 | return ret; |
@@ -318,8 +318,8 @@ static void pl08x_release_mux(struct pl08x_dma_chan *plchan) | |||
318 | if (plchan->signal >= 0) { | 318 | if (plchan->signal >= 0) { |
319 | WARN_ON(plchan->mux_use == 0); | 319 | WARN_ON(plchan->mux_use == 0); |
320 | 320 | ||
321 | if (--plchan->mux_use == 0 && pd->put_signal) { | 321 | if (--plchan->mux_use == 0 && pd->put_xfer_signal) { |
322 | pd->put_signal(plchan->cd, plchan->signal); | 322 | pd->put_xfer_signal(plchan->cd, plchan->signal); |
323 | plchan->signal = -1; | 323 | plchan->signal = -1; |
324 | } | 324 | } |
325 | } | 325 | } |
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index 2a5f64a11b77..10fe2a211c2e 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
@@ -76,11 +76,11 @@ struct pl08x_channel_data { | |||
76 | * platform, all inclusive, including multiplexed channels. The available | 76 | * platform, all inclusive, including multiplexed channels. The available |
77 | * physical channels will be multiplexed around these signals as they are | 77 | * physical channels will be multiplexed around these signals as they are |
78 | * requested, just enumerate all possible channels. | 78 | * requested, just enumerate all possible channels. |
79 | * @get_signal: request a physical signal to be used for a DMA transfer | 79 | * @get_xfer_signal: request a physical signal to be used for a DMA transfer |
80 | * immediately: if there is some multiplexing or similar blocking the use | 80 | * immediately: if there is some multiplexing or similar blocking the use |
81 | * of the channel the transfer can be denied by returning less than zero, | 81 | * of the channel the transfer can be denied by returning less than zero, |
82 | * else it returns the allocated signal number | 82 | * else it returns the allocated signal number |
83 | * @put_signal: indicate to the platform that this physical signal is not | 83 | * @put_xfer_signal: indicate to the platform that this physical signal is not |
84 | * running any DMA transfer and multiplexing can be recycled | 84 | * running any DMA transfer and multiplexing can be recycled |
85 | * @lli_buses: buses which LLIs can be fetched from: PL08X_AHB1 | PL08X_AHB2 | 85 | * @lli_buses: buses which LLIs can be fetched from: PL08X_AHB1 | PL08X_AHB2 |
86 | * @mem_buses: buses which memory can be accessed from: PL08X_AHB1 | PL08X_AHB2 | 86 | * @mem_buses: buses which memory can be accessed from: PL08X_AHB1 | PL08X_AHB2 |
@@ -89,8 +89,8 @@ struct pl08x_platform_data { | |||
89 | const struct pl08x_channel_data *slave_channels; | 89 | const struct pl08x_channel_data *slave_channels; |
90 | unsigned int num_slave_channels; | 90 | unsigned int num_slave_channels; |
91 | struct pl08x_channel_data memcpy_channel; | 91 | struct pl08x_channel_data memcpy_channel; |
92 | int (*get_signal)(const struct pl08x_channel_data *); | 92 | int (*get_xfer_signal)(const struct pl08x_channel_data *); |
93 | void (*put_signal)(const struct pl08x_channel_data *, int); | 93 | void (*put_xfer_signal)(const struct pl08x_channel_data *, int); |
94 | u8 lli_buses; | 94 | u8 lli_buses; |
95 | u8 mem_buses; | 95 | u8 mem_buses; |
96 | }; | 96 | }; |