mei: revamp writing slot counting
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 19 Feb 2014 15:35:48 +0000 (17:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 23:15:57 +0000 (15:15 -0800)
commit9d098192c3d45ab6dd90ae87d649950a9ef70ccb
treea0f48fbc9a60e411cd499a22ac013f85fbb0aeeb
parent6aae48ff18f2fcfb533d2b448ecae16d1de006c1
mei: revamp writing slot counting

Since txe use doorbell and not circular buffer
we have to cheat in write slot counting, txe always consume all the
slots upon write. In order for it to work we need to track
slots using mei_hbuf_empty_slots() instead of tracking it in mei layer

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/client.h
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-txe.c
drivers/misc/mei/hw-txe.h
drivers/misc/mei/interrupt.c
drivers/misc/mei/mei_dev.h