scsi: ufs: prevent illegal icc level configuration
When device power descriptor values are not aligned with regulators values, ufshcd_find_max_sup_active_icc_level returns an illegal value. This will cause the write attribute query to fail with illegal value error. Change-Id: I8082356bf21039c2ee7018640c8f1067631e9289 Signed-off-by:Dolev Raviv <draviv@codeaurora.org> Signed-off-by:
Raviv Shvili <rshvili@codeaurora.org>
Loading
Please register or sign in to comment