]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: exynos: Initialize elbi_base even when using PHY framework
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 7 Mar 2017 10:54:05 +0000 (19:54 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Mar 2017 18:46:38 +0000 (12:46 -0600)
commit6ee52a606587eaecc126d28daa6369a45cf89327
treeb8f5d79fe890a0a4c67351da3956de7e0e2718e3
parent8a17c7afe9fb246fbdf434a8c4a84cdc5bada8cb
PCI: exynos: Initialize elbi_base even when using PHY framework

Even when using the PHY framework, we need the elbi_base.  Before this
patch, we didn't initialize elbi_base, which caused NULL pointer
dereferences later.

Fixes: c403a7949408 ("PCI: exynos: Support the PHY generic framework")
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pci-exynos.c