ide-iops: fix odd-length ATAPI PIO transfers
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 5 Mar 2009 15:10:56 +0000 (16:10 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 5 Mar 2009 15:10:56 +0000 (16:10 +0100)
commita509538d4fb4f99cdf0a095213d57cc3b2347615
treea8ece5f264365dd239c009eb4d64f086e5adef71
parent71bfc7a7c73eaf1f99e309dba60822ba050e3ec5
ide-iops: fix odd-length ATAPI PIO transfers

Commit 9567b349f7e7dd7e2483db99ee8e4a6fe0caca38 (ide: merge ->atapi_*put_bytes
and ->ata_*put_data methods) introduced a regression  WRT the odd-length ATAPI
PIO transfers -- the final word didn't get written (causing command timeouts).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c