Messages in this thread | | | From | Avri Altman <> | Subject | RE: [PATCH 1/2] scsi: ufs: Add DeepSleep feature | Date | Sun, 4 Oct 2020 07:20:57 +0000 |
| |
> + /* > + * DeepSleep requires the Immediate flag. DeepSleep state is actually > + * entered when the link state goes to Hibern8. > + */ > + if (pwr_mode == UFS_DEEPSLEEP_PWR_MODE) > + cmd[1] = 1; Shouldn't it be bit1, i.e. cmd[1] = 2 ?
> cmd[4] = pwr_mode << 4; >
| |