]> 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)
commit73fb838ff1dbab81b6c81fb7a1215c71ccc14e5f
treeb8f5d79fe890a0a4c67351da3956de7e0e2718e3
parent94e2a518d0ac4a168bccd1446b1a1407458c45bd
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: 3c25e8286176 ("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