]> git.karo-electronics.de Git - linux-beck.git/commit
mei: fix read after read scenario
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 29 May 2013 17:09:30 +0000 (20:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:44:41 +0000 (21:44 +0900)
commit139aacf757fc89792c43a79ba99bc2361c98ecd3
treecf5c7a8b57e131367bb79d7fa8bd831a6ad39dc4
parent7131799b145aa67984cc57e52d6379862c78afa3
mei: fix read after read scenario

mei read always has to be preceded by write but
'write write read read' scenario should work as well.
In this case the offset is not zero but new read should
be initiated

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c