memstick: automatically retrieve "INT" value from command response
commitead70773608a5d97f81cb492f117d20b5e9f323e
authorAlex Dubov <oakad@yahoo.com>
Thu, 20 Mar 2008 00:01:06 +0000 (19 17:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:37 +0000 (19 18:53 -0700)
treefa71036f83c49c3b7aee99c11d152ddeb2b3599e
parent9df130392fb642ecd5564163b574ce69ffda1afa
memstick: automatically retrieve "INT" value from command response

MemoryStick storage cards, when in parallel mode, send several meaningful bits
of their "INT" register as part of command response.  This data is stored by
host and can be used to spare invocation of "GET_INT" TPC on each data page
transferred between host and card.

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/core/memstick.c
drivers/memstick/core/mspro_block.c
drivers/memstick/host/jmb38x_ms.c
drivers/memstick/host/tifm_ms.c
include/linux/memstick.h