commit | 6aae48ff18f2fcfb533d2b448ecae16d1de006c1 | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Wed Feb 19 17:35:47 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 28 15:15:56 2014 -0800 |
tree | 1e886fe2f579ed8dea6f594219e591f7c6820d89 | |
parent | 4a22176aa89b8121a5160064d77244e26fe38790 [diff] |
mei: add mei_hbuf_acquire wrapper A client has to acquire host buffer before writing, we add lock like wrapper to replace the code snippet if (dev->hbuf_is_ready) dev->hbuf_is_ready = false; Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>