]> git.dujemihanovic.xyz Git - u-boot.git/commit
ufs: Use utp_transfer_req_desc pointer in ufshcd_get_tr_ocs
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 16 Aug 2023 15:05:54 +0000 (17:05 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 Aug 2023 17:47:43 +0000 (13:47 -0400)
commit12675cb100a860ec7f8fe6df36bb0f7602797e29
treed5dff1a9c16af4558f23abcf570a48202ba19c42
parent7f26fcbea82caa57852fc93bee7ac7300a42c730
ufs: Use utp_transfer_req_desc pointer in ufshcd_get_tr_ocs

Use utp_transfer_req_desc pointer to reference to utrdl queue
instead of referencing the queue directly. This makes the code
more consistent. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
drivers/ufs/ufs.c