]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4b9aca6ed048210c837b8c2bc70b15540a57a4d
tree5fc1e82eb2d2f6b76ca41ac19f5bbe2180d56c98
parent85ab3619ec1ffec49afbf57b2f13c84e66be2e35
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