]> git.baikalelectronics.ru Git - kernel.git/commit
libata/sff: Use ops->bmdma_stop instead of ata_bmdma_stop()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Dec 2009 00:36:28 +0000 (11:36 +1100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:36 +0000 (02:46 -0500)
commit1d7054a4b8fd03bcf5308c7a99b6146b2032ed08
tree77dc52ca9928e5d1321b858d592e4b53b7e986e2
parentca6e6f578b0f64905c6455a3f164b28b0d51dc88
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>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c