From: Albert Lee Date: Fri, 30 Sep 2005 11:14:19 +0000 (+0800) Subject: [PATCH] libata irq-pio: cleanup ata_qc_issue_prot() X-Git-Tag: v2.6.18-rc1~1079^2~98^2~13^2~100 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f00389563c80fa1de250a21256313ba01ca07d;p=pandora-kernel.git [PATCH] libata irq-pio: cleanup ata_qc_issue_prot() ata_qc_issue_prot(): - cleanup and let the PIO data out case always go through the ata_dataout_task() codepath. (Previously for PIO data out case, 2 code pathes were used - irq case goes through ata_data_out_task() codepath. - polling case jumps over the HSM_ST_FIRST state and goes to HSM_ST and ata_pio_task() directly.) ata_dataout_task(): - rearrange the queue_work() code to handle the PIO data out + polling case. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed