RE: [PATCH] scsi: ufs-mediatek: Modify the minimum RX/TX lane count to 2

From: Avri Altman
Date: Thu Aug 20 2020 - 02:03:55 EST



>
> From: Andy Teng <andy.teng@xxxxxxxxxxxx>
>
> MediaTek UFS host starts to support 2 lanes, thus modify the
> minimum lane count to 2.
>
> This modification shall not impact old 1-lane host because
> PA_CONNECTEDRXDATALANES and PA_CONNECTEDTXDATALANES will limit
> the
> target lanes properly during power mode change. So we could relax
> the limitation in ufs_dev_params.
>
> Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
> Signed-off-by: Andy Teng <andy.teng@xxxxxxxxxxxx>
> Singed-off-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

But then again, why those constants needs to be re-negotiated every pre-change?

Thanks,
Avri