alistair23-linux/drivers/misc/mei
Tomas Winkler 1e69d64a28 misc: mei: fix stalled read
This bug caused severe connectivity issue in the LMS application
(LMS is described in  Documentation/misc-devices/mei/mei.txt)

The bug was introduced in patch:
commit 1ccb7b6249
staging/mei: propagate error codes up in the write flow

The patch has reverted the return value logic of some fo function but
the conditional in _mei_irq_thread_read function was not swapped
making read always entering the error path

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 13:52:14 -07:00
..
hw.h Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
init.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interface.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interface.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interrupt.c misc: mei: fix stalled read 2012-06-13 13:52:14 -07:00
iorw.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
Kconfig Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
main.c misc: mei: unregister misc device in pci_remove function 2012-06-13 13:52:14 -07:00
Makefile Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
mei_dev.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
wd.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00