aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-07-08 15:58:39 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-16 20:35:16 -0400
commit70baf0ab3b2608727515086bee4c484a93e22880 (patch)
tree9cb6a054b5b83c44629e3e1408839b570a228658 /drivers/usb/gadget
parentf7113a47e2c3880ed5f8a05ff9c54ead4ee7351c (diff)
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 <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/tcm_usb_gadget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/tcm_usb_gadget.c b/drivers/usb/gadget/tcm_usb_gadget.c
index c46439c8dd74..031d44e86ec3 100644
--- a/drivers/usb/gadget/tcm_usb_gadget.c
+++ b/drivers/usb/gadget/tcm_usb_gadget.c
@@ -294,7 +294,7 @@ static int bot_send_write_request(struct usbg_cmd *cmd)
294 pr_err("%s(%d)\n", __func__, __LINE__); 294 pr_err("%s(%d)\n", __func__, __LINE__);
295 295
296 wait_for_completion(&cmd->write_complete); 296 wait_for_completion(&cmd->write_complete);
297 transport_generic_process_write(se_cmd); 297 target_execute_cmd(se_cmd);
298cleanup: 298cleanup:
299 return ret; 299 return ret;
300} 300}
@@ -725,7 +725,7 @@ static int uasp_send_write_request(struct usbg_cmd *cmd)
725 } 725 }
726 726
727 wait_for_completion(&cmd->write_complete); 727 wait_for_completion(&cmd->write_complete);
728 transport_generic_process_write(se_cmd); 728 target_execute_cmd(se_cmd);
729cleanup: 729cleanup:
730 return ret; 730 return ret;
731} 731}