projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cab7a4
)
[libata] Prevent warning during PMP error recovery
author
Gwendal Grignou
<gwendal@google.com>
Fri, 22 Jul 2011 20:48:32 +0000
(13:48 -0700)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 23 Jul 2011 22:05:14 +0000
(18:05 -0400)
Cleanup sff_pio_task_link when a command is cancel while the
pio_task thread has been scheduled.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/ata/libata-sff.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-sff.c
b/drivers/ata/libata-sff.c
index 996a7a57accc59a45583a185028db18b45df4f6f..c24127dd6ef2d22051244429a8eeeec2679acd34 100644
(file)
--- a/
drivers/ata/libata-sff.c
+++ b/
drivers/ata/libata-sff.c
@@
-1333,6
+1333,7
@@
void ata_sff_flush_pio_task(struct ata_port *ap)
cancel_delayed_work_sync(&ap->sff_pio_task);
ap->hsm_task_state = HSM_ST_IDLE;
+ ap->sff_pio_task_link = NULL;
if (ata_msg_ctl(ap))
ata_port_dbg(ap, "%s: EXIT\n", __func__);