ide-iops: fix odd-length ATAPI PIO transfers
commit95a003875dc31af043361167132f974ac5ab7611
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 5 Mar 2009 15:10:56 +0000 (5 16:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:53:03 +0000 (16 17:53 -0700)
tree66c1635b8033ec2a752664433261053b1f3dd300
parentfaccffd54fa78cc094740ccc902e0a1189c61c27
ide-iops: fix odd-length ATAPI PIO transfers

commit a509538d4fb4f99cdf0a095213d57cc3b2347615 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/ide-iops.c