linux/drivers/misc/mei
Alexander Usyskin 8b2458f413 mei: always copy the read buffer if data is ready
Copy completed callback content to the user space
if we have such callback ready in the beginning of the read.
Simplify offset processing logic as byproduct.

This is a refinement for:
commit 139aacf757 ("mei: fix read after read scenario")

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-06 22:06:43 -08:00
..
amthif.c mei: amthif: Do not compare bool to 0/1 2015-10-17 21:45:05 -07:00
bus-fixup.c mei: bus: remove redundant uuid string in debug messages 2016-02-06 22:06:40 -08:00
bus.c mei: bus: set the device name before running fixup 2015-10-29 09:02:16 +09:00
client.c mei: prevent queuing new flow control credit. 2016-02-06 22:06:43 -08:00
client.h mei: bus: export client protocol version 2015-09-20 19:30:10 -07:00
debugfs.c mei: Fix debugfs filename in error output 2015-10-27 14:21:42 +09:00
hbm.c mei: fix the KDoc formating 2015-10-17 21:45:05 -07:00
hbm.h mei: me: d0i3: add d0i3 enter/exit state machine 2015-08-03 17:33:55 -07:00
hw-me-regs.h mei: me: add sunrise point device ids 2015-08-03 17:33:55 -07:00
hw-me.c mei: me: fix d0i3 register offset in tracing 2015-09-20 19:31:10 -07:00
hw-me.h mei: me: d0i3: enable d0i3 interrupts 2015-08-03 17:33:54 -07:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: hbm: bump supported HBM version to 2.0 2015-08-03 17:33:55 -07:00
init.c mei: cancel driver workers only after client devices were removed 2015-10-17 21:45:05 -07:00
interrupt.c mei: keep the device awake during reads in chunks 2015-10-17 21:45:05 -07:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: always copy the read buffer if data is ready 2016-02-06 22:06:43 -08:00
Makefile mei: bus: rename nfc.c to bus-fixup.c 2015-08-03 17:20:26 -07:00
mei_dev.h char/misc drivers for 4.4-rc1 2015-11-04 22:15:15 -08:00
mei-trace.c mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.h mei: trace: remove unused TRACE_SYSTEM_STRING 2015-04-13 15:27:19 +02:00
pci-me.c PM / Domains: add setter for dev.pm_domain 2016-01-08 01:12:06 +01:00
pci-txe.c PM / Domains: add setter for dev.pm_domain 2016-01-08 01:12:06 +01:00
wd.c Watchdog: Fix parent of watchdog_devices 2015-09-09 21:39:22 +02:00