firewire: Preserve response data alignment bug when it is harmless
authorDavid Moore <dcm@acm.org>
Wed, 30 Jul 2008 06:46:25 +0000 (23:46 -0700)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 2 Aug 2008 18:03:49 +0000 (20:03 +0200)
commit8401d92ba46a1e859464cbd9c9ee304f6e361da3
treecdf4ecb706a4f2417b57a8d52d887cd4b2c12130
parentf05e21b39f7dddcebab03ff329fef5783fea58d4
firewire: Preserve response data alignment bug when it is harmless

Recently, a bug having to do with the alignment of transaction response
data was fixed.  However, some apps such as libdc1394 relied on the
presence of that bug in order to function correctly.  In order to stay
compatible with old versions of those apps, this patch preserves the bug
in cases where it is harmless to normal operation (such as the single
quadlet read) due to a simple duplication of data.  This guarantees
maximum compatability for those users who are using the old app with the
fixed kernel.

Signed-off-by: David Moore <dcm@acm.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c