mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
switch: qcom: initialize parb_phase to 0
If none of the "if" conditions are met, an uninitialized parb_phase will be used. Initialize parb_phase so that it can be handled properly. Change-Id: I682ece7330cd257566ea740c4498bc786ae95588 Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
98ed180626
commit
ec6e4416b1
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ static int config_port_arbitration(struct device *dev, int parb_select,
|
|||
struct pci_dev *pcidev = to_pci_dev(dev);
|
||||
int i, pos, size;
|
||||
int timeout = 100;
|
||||
u32 parb_offset, parb_phase, parb_size;
|
||||
u32 parb_offset, parb_phase = 0, parb_size;
|
||||
u32 val;
|
||||
u16 status;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue