]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata-sff: fix ata_sff_post_internal_cmd()
authorTejun Heo <tj@kernel.org>
Mon, 20 Oct 2008 04:10:21 +0000 (13:10 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 23 Oct 2008 00:40:15 +0000 (20:40 -0400)
commit570106df6bdb4907ad7f70793079c762f34d561a
tree7f81d9eb2cf24a9882c59706d7e1e4c4107e60c9
parentf667fdbbbea8bcce6cf9f7acb51b7cb4c264cc61
libata-sff: fix ata_sff_post_internal_cmd()

ata_sff_post_internal_cmd() needs to grab port lock before calling
ata_bmdma_stop() and also need to clear hsm_task_state.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c