Skip to content
Commit 1326d1bb authored by Siba Prasad's avatar Siba Prasad Committed by Veerabhadrarao Badiganti
Browse files

mmc: host: sdhci-msm-ice: Initialize local variable in ice_cmdq_cfg()



Uninitialized key_index local variable in sdhci_msm_ice_cmdq_cfg() would
be passed as it is to sdhci_msm_ice_hci_update_cmdq_cfg()
/sdhci_msm_ice_update_cfg() when request is not valid. So initialize
this variable with right value.

Without this change, its causing KW warning.

Change-Id: Ibf2f3973e8e2143b303196133758534846437b46
Signed-off-by: default avatarSiba Prasad <sibap@codeaurora.org>
parent 57056d5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment