Skip to content
Commit 04de0816 authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

pcmcia: pcmcia_dev_present bugfix



pcmcia_dev_present is in and by itself buggy. Add a note specifying
why it is broken, and replace the broken locking -- taking a mutex
is a bad idea in IRQ context, from which this function is rarely
called -- by an atomic_t.

Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 05ce7bfe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment