|
@@ -874,7 +874,7 @@ static int prep_phy_channel(struct pl08x_dma_chan *plchan,
|
|
|
* Can the platform allow us to use this channel?
|
|
|
*/
|
|
|
if (plchan->slave && pl08x->pd->get_signal) {
|
|
|
- ret = pl08x->pd->get_signal(plchan);
|
|
|
+ ret = pl08x->pd->get_signal(plchan->cd);
|
|
|
if (ret < 0) {
|
|
|
dev_dbg(&pl08x->adev->dev,
|
|
|
"unable to use physical channel %d for transfer on %s due to platform restrictions\n",
|
|
@@ -909,7 +909,7 @@ static void release_phy_channel(struct pl08x_dma_chan *plchan)
|
|
|
struct pl08x_driver_data *pl08x = plchan->host;
|
|
|
|
|
|
if ((plchan->phychan->signal >= 0) && pl08x->pd->put_signal) {
|
|
|
- pl08x->pd->put_signal(plchan);
|
|
|
+ pl08x->pd->put_signal(plchan->cd, plchan->phychan->signal);
|
|
|
plchan->phychan->signal = -1;
|
|
|
}
|
|
|
pl08x_put_phy_channel(pl08x, plchan->phychan);
|