Thomas Petazzoni dab9206445 dma: mv_xor: fix error handling for clocks
When a channel fails to initialize, we release all ressources,
including clocks. However, a XOR unit is not necessarily associated to
a clock (some variants of Marvell SoCs have a clock for XOR units,
some don't), so we shouldn't unconditionally be releasing the clock.

Instead, just like we do in the mv_xor_remove() function, we should
check if one clock was found before releasing it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-01-06 17:53:28 +00:00
..
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-10-09 07:07:14 +09:00
2012-12-17 17:15:13 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-10-09 07:07:14 +09: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-09-14 08:14:07 +05:30
2012-11-28 12:42:36 -08: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
2012-11-28 12:42:36 -08:00
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