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>
This commit is contained in:
committed by
Linus Torvalds
parent
9df130392f
commit
ead7077360
@ -239,7 +239,6 @@ struct memstick_request {
|
||||
unsigned char tpc;
|
||||
unsigned char data_dir:1,
|
||||
need_card_int:1,
|
||||
get_int_reg:1,
|
||||
long_data:1;
|
||||
unsigned char int_reg;
|
||||
int error;
|
||||
|
Reference in New Issue
Block a user