diff options
author | Arthur Simchaev <[email protected]> | 2022-12-11 15:05:11 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-12-30 21:48:37 +0000 |
commit | 16ed9d312b42180242476d159dd2fab05129029a (patch) | |
tree | f9e1730db33421c7d2d77c45d35940ccc3739174 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 01a0d515b7d93f6f5259c0333e48ac0ed8f0aa92 (diff) |
scsi: ufs: core: Remove ufshcd_map_desc_id_to_length()
There shouldn't be any restriction of the descriptor size (not the
descriptor id for that matter) up to QUERY_DESC_MAX_SIZE. According to the
spec, the caller can use any descriptor size, and it is up to the device to
return the actual size. Therefore there shouldn't be any sizes hardcoded
in the kernel, nor any need to cache it, hence the
ufshcd_map_desc_id_to_length() function is redundant. Always read the
descriptors with QUERY_DESC_MAX_SIZE size.
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Suggested-by: Bean Huo <[email protected]>
Signed-off-by: Arthur Simchaev <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions