linux/drivers/misc/mei
Tomas Winkler 22f96a0eb6 mei: revamp open handler counts
Make open counter to be incremented and decremented
from mei_cl_link and mei_cl_unlik function respectively

Nfc was assuming symmetric linking API and thus open handler
count was never decreased. This patch fixes that.
We need to add separate open hander count for amthif which
is handled out of link/unlink functions and doesn't break
the symmetric API.

Last we do not waste clients slots if amthif or wd are not present
in the device. we don't need to allocates slots ahead
it is all covered by link/unlink before the devices is responding
to user space connection and thus not racing on allocation

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-03 16:01:16 -07:00
..
amthif.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
bus.c mei: bus: stop wait for read during cl state transition 2013-09-26 13:56:53 -07:00
client.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
client.h Merge 3.12-rc3 into char-misc-next 2013-09-29 18:27:03 -07:00
debugfs.c mei: convert to use simple_open() 2013-04-11 12:39:01 -07:00
hbm.c Merge 3.12-rc3 into char-misc-next 2013-09-29 18:27:03 -07:00
hbm.h mei: support HBM versioning 2013-06-17 16:43:09 -07:00
hw-me-regs.h mei: rename interface to hw-me 2013-01-08 16:40:45 -08:00
hw-me.c mei: me: fix hardware reset flow 2013-08-12 15:46:06 -07:00
hw-me.h mei: revamp mei_data2slots 2013-03-15 11:10:48 -07:00
hw.h mei: simplify preparing client host bus messages 2013-01-07 10:31:29 -08:00
init.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
interrupt.c mei: push credentials inside the irq write handler 2013-09-26 08:42:02 -07:00
Kconfig mei: move mei-me to separate module 2013-03-29 08:32:21 -07:00
main.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
Makefile mei: nfc: Initial nfc implementation 2013-04-10 18:56:53 -07:00
mei_dev.h mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
nfc.c mei: nfc: fix nfc device freeing 2013-06-13 22:31:06 -07:00
pci-me.c misc: mei: remove unnecessary pci_set_drvdata() 2013-09-26 09:13:54 -07:00
wd.c mei: deprecate the mei_wd_state_independence_msg 2013-05-30 21:44:41 +09:00