scsi: ufs: add power param check to avoid illegal value configuration
When reading gear/lane value from unipro and from the UFS device,
we might get wrong values, due to HW failures, so we need to report
it and ignore.
gear = 0, in both RX and TX is invalid and should be reported as
error, and same case for number of connected lanes (RX or TX) which
are 0.
Change-Id: Ib5d0963836cdd20178546372a356a14f2a1acd5f
Signed-off-by:
Yaniv Gardi <ygardi@codeaurora.org>
Loading
Please register or sign in to comment