]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: dma-sysfs fixes.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 24 Nov 2006 05:43:09 +0000 (14:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:39 +0000 (10:45 +0900)
commit4dfc119f1c0723c54a20ff5ca4ea460ce7a4edb5
treeda62d31bd39155aa111a2655f35e14b18d807bde
parente0969e0c9b609fdfe217e34f3e046179ffe88eb6
sh: dma-sysfs fixes.

Handle the case where no registered DMACs exist somewhat more
gracefully. While we're at it, check for sysdev_create_file()
failing.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-sysfs.c