Andy Shevchenko 4168d0d9d3 dma: coh901318: avoid unbalanced locking
In case the len is 0 we must return without trying to unlock the lock that was
not locked.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2013-02-14 20:00:53 +05:30
..
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-09-01 08:57:12 -07:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2013-01-07 22:05:04 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00