scsi: ufs: add power param check to avoid illegal value configuration
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 <04755f518c85cc680ded51dd2473c9c5f68fef34@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas