tifm_7xx1: fix adapter resume function
authorAlex Dubov <oakad@yahoo.com>
Thu, 12 Apr 2007 06:59:19 +0000 (16:59 +1000)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 11:04:13 +0000 (13:04 +0200)
commit88de1b2fed2bbe9eb1b7310195be84cf143efb4f
tree4f52fe092254b8992a19797860edc8889c08a1f5
parent2428a8fe2261e901e058d9ea8b6ed7e1b4268b79
tifm_7xx1: fix adapter resume function

Fixes to the adapter resume function to correctly handle all possible cases:
1. Card is removed during suspend
2. Card is inserted during suspend into previously empty socket
3. Card is replaced during suspend by same or different media type card.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/misc/tifm_7xx1.c