commit | f23aedb4364ac6cbfd0d00f94d75ed9907a92786 | [log] [tgz] |
---|---|---|
author | Jorge Troncoso <jatron@google.com> | Wed Feb 22 15:30:47 2023 -0800 |
committer | Jorge Troncoso <jatron@google.com> | Sat Feb 25 06:32:44 2023 -0800 |
tree | 7a0d2e83b47fc512f86114a635d7e9d1404da552 | |
parent | e518eff0e0e2e4f8e34edfee51fedc75fd78f044 [diff] |
fix(ufs): set the PRDT length field properly The PRDT length field contains the count of the entries in the PRDT. See JEDEC Standard No. 223E, section 6.1.1, "UTP Transfer Request Descriptor," page 66. Previously we were setting the PRDT length field to the number of bytes in the PRDT divided by four (the size in units of 32 bits). This was incorrect according to the spec. Signed-off-by: Jorge Troncoso <jatron@google.com> Change-Id: I960771e6ce57002872392993042fae9ec505447e