libata/sff: Use ops->bmdma_stop instead of ata_bmdma_stop()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 1 Dec 2009 14:36:28 +0000 (14:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Dec 2009 06:09:27 +0000 (17:09 +1100)
commitf0353813afe784330622596ff141e7525ccd99de
treef1d2fd76b98026b4a6d524b640c18dd379532d26
parentd58b0c39e32f1b410af4d070f9d1a1416057c166
libata/sff: Use ops->bmdma_stop instead of ata_bmdma_stop()

In libata-sff, ata_sff_post_internal_cmd() directly calls ata_bmdma_stop()
instead of ap->ops->bmdma_stop(). This can be a problem for controllers
that use their own bmdma_stop for which the generic sff one isn't suitable

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c