mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
Some tiny improvements for cdns USB3 drivers, no important things.
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEDaZUZmFxRG/wNThrSFkpgVDWcbsFAmDNsqYACgkQSFkpgVDW cbt6Gwf/YfxvGlKDS97UV9Iy4N24h451CbBsWuRKcHD+RFngaeF9uJuTZ+ki/AFR CQOdXKbxpnnahGH7+yalmJ3Du49xMGaXkkaABT5HisY0QNtJeuXa6Dg10+yE5O0M hPzl+zRpYIwYL2b9DG5RlK27y70lrsNfYoD0eddspOSMJo2ol6q4N2bOnfdWLCmE xq5WsbOG+a+43O23QgtW6Jk8GpmlBNvVkU4x2WALKZG/Z6oCgDqxFrUJJjHk0li5 nCVPV3n9hpNpKU462uHo+frlG3WTjjeL6qyqQEc/WE+Bzh+FaTXQg+rnlg1e8M0K AYGM9mq7Dkl7Cc+TjFqIeSWPTO5zOw== =Ljxm -----END PGP SIGNATURE----- Merge tag 'usb-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next Peter writes: Some tiny improvements for cdns USB3 drivers, no important things. * tag 'usb-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb: usb: cdns3: cdns3-gadget: Use list_move_tail instead of list_del/list_add_tail doc: dt-binding: cdns,usb3: Add interrupt-names property under required usb: cdnsp: Useless condition has been removed usb: cdns3: Corrected comment to align with kernel-doc comment
This commit is contained in:
commit
f2dca339fa
@ -430,9 +430,7 @@ static int cdns3_start_all_request(struct cdns3_device *priv_dev,
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
list_del(&request->list);
|
||||
list_add_tail(&request->list,
|
||||
&priv_ep->pending_req_list);
|
||||
list_move_tail(&request->list, &priv_ep->pending_req_list);
|
||||
if (request->stream_id != 0 || (priv_ep->flags & EP_TDLCHK_EN))
|
||||
break;
|
||||
}
|
||||
@ -484,7 +482,7 @@ static void __cdns3_descmiss_copy_data(struct usb_request *request,
|
||||
}
|
||||
|
||||
/**
|
||||
* cdns3_wa2_descmiss_copy_data copy data from internal requests to
|
||||
* cdns3_wa2_descmiss_copy_data - copy data from internal requests to
|
||||
* request queued by class driver.
|
||||
* @priv_ep: extended endpoint object
|
||||
* @request: request object
|
||||
|
@ -1082,9 +1082,8 @@ void cdnsp_mem_cleanup(struct cdnsp_device *pdev)
|
||||
dma_pool_destroy(pdev->device_pool);
|
||||
pdev->device_pool = NULL;
|
||||
|
||||
if (pdev->dcbaa)
|
||||
dma_free_coherent(dev, sizeof(*pdev->dcbaa),
|
||||
pdev->dcbaa, pdev->dcbaa->dma);
|
||||
dma_free_coherent(dev, sizeof(*pdev->dcbaa),
|
||||
pdev->dcbaa, pdev->dcbaa->dma);
|
||||
|
||||
pdev->dcbaa = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user