Skip to content

Commit

Permalink
video: mx3fb: use dmaengine_terminate_all() API
Browse files Browse the repository at this point in the history
The drivers should use dmaengine_terminate_all() API instead of
accessing the device_control which will be deprecated soon

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
  • Loading branch information
Vinod Koul committed Oct 15, 2014
1 parent 2bcd90d commit a500789
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/video/fbdev/mx3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a500789

Please sign in to comment.