sata_mv: release clock on ata_host_activate() failure
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 7 Oct 2011 15:22:33 +0000 (19:22 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Oct 2011 03:46:12 +0000 (23:46 -0400)
commitc00a4c9d247a3a24190d2f27ab9b23424d8b082c
treeaa920ff8ddaad797152572eea4d11b4e24442373
parent3ee72ca99288f1de95ec9c570e43f531c8799f06
sata_mv: release clock on ata_host_activate() failure

mv_platfrom_probe() forgets to call clk_disable() and clk_put() iff
ata_host_activate() fails...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c