lkml.org 
[lkml]   [2020]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/2] scsi: ufs: Add DeepSleep feature
Date
> +       /*
> + * 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;
>

\
 
 \ /
  Last update: 2020-10-04 09:22    [W:0.207 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site