mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
target: remove transport_generic_process_write
Just call target_execute_cmd directly. Also, convert loopback, sbp, usb-gadget to use the newly exported target_execute_cmd(). Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
f7113a47e2
commit
70baf0ab3b
5 changed files with 8 additions and 18 deletions
|
|
@ -294,7 +294,7 @@ static int bot_send_write_request(struct usbg_cmd *cmd)
|
|||
pr_err("%s(%d)\n", __func__, __LINE__);
|
||||
|
||||
wait_for_completion(&cmd->write_complete);
|
||||
transport_generic_process_write(se_cmd);
|
||||
target_execute_cmd(se_cmd);
|
||||
cleanup:
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -725,7 +725,7 @@ static int uasp_send_write_request(struct usbg_cmd *cmd)
|
|||
}
|
||||
|
||||
wait_for_completion(&cmd->write_complete);
|
||||
transport_generic_process_write(se_cmd);
|
||||
target_execute_cmd(se_cmd);
|
||||
cleanup:
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue