]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: Add a warning for drivers not using the generic slave caps retrieval
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 17 Nov 2014 13:42:53 +0000 (14:42 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 07:04:21 +0000 (12:34 +0530)
commite1d6d8ca9bca8db8281631bc081cd7d2f39a75ab
tree936edd52f9a45f70f7aac10ffd5793bebf55ece8
parent4baca070c126722aea4dcecdd3d14f3b7c937cbd
dmaengine: Add a warning for drivers not using the generic slave caps retrieval

For the slave caps retrieval to be really useful, most drivers need to
implement it.

Hence, we need to be slightly more aggressive, and trigger a warning at
registration time for drivers that don't fill their caps infos in order to
encourage them to implement it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c