tifm: fix the MemoryStick host fifo handling code
authorAlex Dubov <oakad@yahoo.com>
Mon, 10 Mar 2008 18:43:40 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Mar 2008 01:01:18 +0000 (18:01 -0700)
commit92b22d935fed1e4d88b9b6f9a674ab2a4272ee78
tree021bfaaf98ce4af76c6761142fe6bcf3621fbd01
parent2a4f2568c22a381d7568314052c1dd40f6d3680a
tifm: fix the MemoryStick host fifo handling code

Additional input received from JMicron on MemoryStick host interfaces showed
that some assumtions in fifo handling code were incorrect.  This patch also
fixes data corruption used to occure during PIO transfers.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/memstick/host/tifm_ms.c
include/linux/tifm.h