dmaengine: dw: always export dw_dma_{en,dis}able
Instead of conditional exporing of dw_dma_suspend() / dw_dma_resume() let's export dw_dma_disable() / dw_dma_enable(). Since dw_dma_shutdown() repeats dw_dma_disable() we may safely remove it at all. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Esse commit está contido em:
@@ -38,14 +38,8 @@ struct dw_dma_chip {
|
||||
int dw_dma_probe(struct dw_dma_chip *chip, struct dw_dma_platform_data *pdata);
|
||||
int dw_dma_remove(struct dw_dma_chip *chip);
|
||||
|
||||
void dw_dma_shutdown(struct dw_dma_chip *chip);
|
||||
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
|
||||
int dw_dma_suspend(struct dw_dma_chip *chip);
|
||||
int dw_dma_resume(struct dw_dma_chip *chip);
|
||||
|
||||
#endif /* CONFIG_PM_SLEEP */
|
||||
int dw_dma_disable(struct dw_dma_chip *chip);
|
||||
int dw_dma_enable(struct dw_dma_chip *chip);
|
||||
|
||||
extern bool dw_dma_filter(struct dma_chan *chan, void *param);
|
||||
|
||||
|
Referência em uma nova issue
Block a user