diff options
| author | Eric Biggers <[email protected]> | 2020-08-25 19:10:40 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-01 22:09:51 -0400 |
| commit | cc770ce34aeeff21991f162f0db1a758ea672727 (patch) | |
| tree | 2e45447f8f346645b2a8bb21c9fbdb37e6830850 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | cfd3d2225aa5d72e2ea848a0bb05d11b46a88d49 (diff) | |
scsi: ufs: Make ufshcd_print_trs() consider UFSHCD_QUIRK_PRDT_BYTE_GRAN
Fix ufshcd_print_trs() to consider UFSHCD_QUIRK_PRDT_BYTE_GRAN when using
utp_transfer_req_desc::prd_table_length, so that it doesn't treat the
number of bytes as the number of entries.
Originally from Kiwoong Kim
(https://lkml.kernel.org/r/[email protected]).
Link: https://lore.kernel.org/r/[email protected]
Fixes: 26f968d7de82 ("scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk")
Cc: Alim Akhtar <[email protected]>
Cc: Kiwoong Kim <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions