mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
ANDROID: scsi: ufs: fix collision between CRYPTO and RPM_AUTOSUSPEND bits
On android-5.4, UFSHCD_CAP_CRYPTO was assigned bit (1 << 6), then a patch was backported from upstream which added UFSHCD_CAP_RPM_AUTOSUSPEND, also as (1 << 6). This bug is not present in android-4.19 or android-mainline, where UFSHCD_CAP_CRYPTO is bit (1 << 7) instead. Fix android-5.4 to do that too. Bug: 137270441 Change-Id: I18de69e9b2bb4ea06dd54851031c2d6e057d32ab Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
parent
2081b666d5
commit
f7eefc38b8
1 changed files with 5 additions and 5 deletions
|
|
@ -752,17 +752,17 @@ struct ufs_hba {
|
|||
* the performance of ongoing read/write operations.
|
||||
*/
|
||||
#define UFSHCD_CAP_KEEP_AUTO_BKOPS_ENABLED_EXCEPT_SUSPEND (1 << 5)
|
||||
/*
|
||||
* This capability allows the host controller driver to use the
|
||||
* inline crypto engine, if it is present
|
||||
*/
|
||||
#define UFSHCD_CAP_CRYPTO (1 << 6)
|
||||
/*
|
||||
* This capability allows host controller driver to automatically
|
||||
* enable runtime power management by itself instead of waiting
|
||||
* for userspace to control the power management.
|
||||
*/
|
||||
#define UFSHCD_CAP_RPM_AUTOSUSPEND (1 << 6)
|
||||
/*
|
||||
* This capability allows the host controller driver to use the
|
||||
* inline crypto engine, if it is present
|
||||
*/
|
||||
#define UFSHCD_CAP_CRYPTO (1 << 7)
|
||||
|
||||
struct devfreq *devfreq;
|
||||
struct ufs_clk_scaling clk_scaling;
|
||||
|
|
|
|||
Loading…
Reference in a new issue