diff options
author | Bean Huo <[email protected]> | 2020-01-20 14:08:20 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-01-20 19:16:10 -0500 |
commit | 1baa80118e0324bf5063c2576b531a14cb57f874 (patch) | |
tree | 214c4251a4947b28d5fb76b6fba37222334e0efc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 731f06216df3d605c466571a1c89222b4cca2fbc (diff) |
scsi: ufs: Use UFS device indicated maximum LU number
According to Jedec standard UFS 3.0 and UFS 2.1 Spec, Maximum number of
logical units supported by the UFS device is indicated by parameter
bMaxNumberLU in Geometry Descriptor. This patch is to delete current hard
code macro definition of UFS_UPIU_MAX_GENERAL_LUN, and switch to use device
indicated number instead.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Asutosh Das <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Bean Huo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions