diff options
author | Russell King - ARM Linux <[email protected]> | 2011-01-03 22:45:57 +0000 |
---|---|---|
committer | Dan Williams <[email protected]> | 2011-01-04 19:16:14 -0800 |
commit | f0fd944625b6e406dc273b8dffa16e0728c973e6 (patch) | |
tree | d30767326785455dba0a99de2b6dd1a859be3c26 /tools/perf/util/trace-event-scripting.c | |
parent | c370e594efe2993620d24d41a78f325102e99d1c (diff) |
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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions