pata_at91: call clk_put() on ata_host_activate() failure
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 10 Oct 2011 15:09:17 +0000 (19:09 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 Oct 2011 17:01:39 +0000 (13:01 -0400)
commit8e3bfdb95ad7440fa2c7eca5551b9169a5cdcf58
treefe8db4d9d2479564c341c3d564b634aa3485d097
parentc2036033604060adc85098bd0e7179a6b2a7b48c
pata_at91: call clk_put() on ata_host_activate() failure

pata_at91_probe() forgets to call 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/pata_at91.c