Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a500789d authored by Vinod Koul's avatar Vinod Koul
Browse files

video: mx3fb: use dmaengine_terminate_all() API



The drivers should use dmaengine_terminate_all() API instead of
accessing the device_control which will be deprecated soon

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 2bcd90d5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -461,8 +461,7 @@ static void sdc_disable_channel(struct mx3fb_info *mx3_fbi)

	spin_unlock_irqrestore(&mx3fb->lock, flags);

	mx3_fbi->txd->chan->device->device_control(mx3_fbi->txd->chan,
						   DMA_TERMINATE_ALL, 0);
	dmaengine_terminate_all(mx3_fbi->txd->chan);
	mx3_fbi->txd = NULL;
	mx3_fbi->cookie = -EINVAL;
}