From: Maxime Ripard Date: Mon, 17 Nov 2014 13:42:00 +0000 (+0100) Subject: dmaengine: Introduce a device_config callback X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~48^2~27^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a73e30dfe6722e9f4ef19f7892901d7d00eab1;p=pandora-kernel.git dmaengine: Introduce a device_config callback The fact that the channel configuration is done in device_control is rather misleading, since it's not really advertised as such, plus, the fact that the framework exposes a function of its own makes it not really intuitive, while we're losing the type checking whenever we pass that unsigned long argument. Add a device_config callback to dma_device, with a fallback on the old behaviour for now for existing drivers to opt in. Signed-off-by: Maxime Ripard Acked-by: Laurent Pinchart Signed-off-by: Vinod Koul --- Reading git-diff-tree failed