Merge branch 'char-misc-linus' into char-misc-next
We want the mei change here to allow future mei patches to apply properly. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
commit
0a191749ce
|
@ -663,7 +663,6 @@ int mei_cl_read_start(struct mei_cl *cl, size_t length)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
cb->fop_type = MEI_FOP_READ;
|
cb->fop_type = MEI_FOP_READ;
|
||||||
cl->read_cb = cb;
|
|
||||||
if (dev->hbuf_is_ready) {
|
if (dev->hbuf_is_ready) {
|
||||||
dev->hbuf_is_ready = false;
|
dev->hbuf_is_ready = false;
|
||||||
if (mei_hbm_cl_flow_control_req(dev, cl)) {
|
if (mei_hbm_cl_flow_control_req(dev, cl)) {
|
||||||
|
@ -675,6 +674,9 @@ int mei_cl_read_start(struct mei_cl *cl, size_t length)
|
||||||
} else {
|
} else {
|
||||||
list_add_tail(&cb->list, &dev->ctrl_wr_list.list);
|
list_add_tail(&cb->list, &dev->ctrl_wr_list.list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cl->read_cb = cb;
|
||||||
|
|
||||||
return rets;
|
return rets;
|
||||||
err:
|
err:
|
||||||
mei_io_cb_free(cb);
|
mei_io_cb_free(cb);
|
||||||
|
|
Loading…
Reference in New Issue