tifm: fix memorystick host initialization 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)
commiteebbe9ca7855eb520cde62234028b6bd90083659
tree5fc1e82eb2d2f6b76ca41ac19f5bbe2180d56c98
parent92b22d935fed1e4d88b9b6f9a674ab2a4272ee78
tifm: fix memorystick host initialization code

Instead of assuming that host is powered on only once at card insertion, allow
for the possibility that memstick layer may need to cycle card's power to get
it out from some unhealthy states.

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