diff options
| author | Ram Prakash Gupta <rampraka@codeaurora.org> | 2018-09-11 20:44:59 +0530 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:40:56 +0200 |
| commit | 42cd08dbef4a96deb019c7b012620bf01e0cb092 (patch) | |
| tree | 410dd54b86e150cadac750190454fc5ee8fb9560 | |
| parent | 35eea32844d8187600022dd20c866ae0d8a93fbb (diff) | |
mmc: host: sdhci-msm-ice: Fix compilation issue in ice
Fix compilation issue in kernel 4.14, for err message as "logical
not is only applied to the left hand side of this bitwise operator".
To fix this issue, used paranthesis for left hand side of bitwise
operator.
Change-Id: If556455149c2c7de2b87d6abcbbc483131606fbf
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.14/commit/?id=2e6f73bd555e72edb316d52d73e8371792df3adf
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
| -rw-r--r-- | drivers/mmc/host/sdhci-msm-ice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-msm-ice.c b/drivers/mmc/host/sdhci-msm-ice.c index e73bdfd424cc..a8dc6a0dcdfa 100644 --- a/drivers/mmc/host/sdhci-msm-ice.c +++ b/drivers/mmc/host/sdhci-msm-ice.c @@ -311,7 +311,7 @@ void sdhci_msm_ice_hci_update_noncq_cfg(struct sdhci_host *host, */ /* Configure ICE bypass mode */ crypto_params |= - (!bypass & MASK_SDHCI_MSM_ICE_HCI_PARAM_CE) + ((!bypass) & MASK_SDHCI_MSM_ICE_HCI_PARAM_CE) << OFFSET_SDHCI_MSM_ICE_HCI_PARAM_CE; /* Configure Crypto Configure Index (CCI) */ crypto_params |= (key_index & |
