ARM: PL08x: use min() to calculate target_len
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:42:34 +0000 (22:42 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:13 +0000 (19:16 -0800)
commitd6cf7b597f7158616106068930d1c6203d9359eb
treea1d640957f21926f2f65e96804ecd18f72047413
parentb61be8d728abad7fd98e62e98f22325f8f254b51
ARM: PL08x: use min() to calculate target_len

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c