From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:45:57 +0000 (+0000) Subject: ARM: PL08x: allow dma_set_runtime_config() to return errors X-Git-Tag: v2.6.38-rc1~25^2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fd944625b6e406dc273b8dffa16e0728c973e6;p=pandora-kernel.git ARM: PL08x: allow dma_set_runtime_config() to return errors There are cases in dma_set_runtime_config() where we fail to perform the requested action - and we just issue a KERN_ERR message in that case. We have the facility to return an error to the caller, so that is what we should do. When we encounter an error due to invalid parameters, we should not modify driver state. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed