[PCMCIA] Add per-socket thread to process socket events.
Add a per-socket kernel thread, which is responsible for processing insertion, removal, battery status and ready status changes. We also add a semaphore to prevent multiple threads trying to change the socket suspend/present state. This will allows us to eliminate the per-socket work queues, and will allow us to handle the card insertion without resources cleanly.
Showing
This diff is collapsed.
Please register or sign in to comment