commit | 178783622ce0fd629fad21b33b8f8f56b64c5e45 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jul 03 23:24:21 2011 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jul 03 23:24:21 2011 +0100 |
tree | de3c5133acd86cca859bd24b49d79e2040eeb714 | |
parent | ca56a95eedcc95f8fea7b49c87565cd961d74fe2 [diff] |
ARM: dmabounce: fix map_single() error return value When map_single() is unable to obtain a safe buffer, we must return the dma_addr_t error value, which is ~0 rather than 0. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>